}
/**
- * @returns ApiMessage
+ * @return ApiMessage
*/
private function getApiMessage() {
$errors = $this->status->getErrorsByType( 'error' );
* @inheritDoc
*/
public function getMessageObject() {
- return $this->status->getMessage();
+ return Status::wrap( $this->status )->getMessage();
}
/**