public function getMessage() { if ($message = parent::getMessage()) { return $message; } $state = $this->getDispositionState(); if ($state && isset($this->messages[$state])) { return $this->messages[$state]; } return; }
public function getMessage() { $message = (string) $this->data->errorCodeDescription; return $message ? $message : parent::getMessage(); }