Return the response's reason message

@return string
511131
public function getMessage()
    {
        return isset($this->data['ErrorMsg']) && !empty($this->data['ErrorMsg']) ? $this->data['ErrorMsg'] : null;
    }
262024
public function toMessage()
    {
        $m = new Message(array(
            $this->getRequestId(),
            $this->getActionName(),
        ));
        $m->append($this->getParameters());

        return $m;
    }
815941
public function getHttpResponseCodeText()
    {
        $code = $this->getHttpResponseCode();
        $statusTexts = \Symfony\Component\HttpFoundation\Response::$statusTexts;

        return (isset($statusTexts[$code])) ? $statusTexts[$code] : null;
    }
756738
public function getErrorString()
    {
        $this->execute();
        
        return $this->error ? $this->error['errcode'] . ':' . $this->error['errmsg'] : null;
    }
1340575
public function getErrorMessage()
    {
        $errorMessage = '';

        $dom = $this->getDOMDocument();
        $xpath = new DOMXPath($dom);
        if (($errorNode = $xpath->query('/response/error')->item(0)) instanceof DOMNode) {
            $errorMessage = $errorNode->nodeValue;
        }

        return $errorMessage;
    }
1285260
public function getMessage()
    {
        if ($this->success) {
            return null;
        }
        $message = $this->getPotentialMessage();
        $message->setVariables(
            array(
                'value' => $this->value
            )
        );

        return $message;
    }
1049169
public function getMessageWithSuggestion(): string
	{
		$message = $this->getMessage();

		if($this->suggestion !== null)
		{
			$message .= ' Did you mean [ ' . $this->suggestion . ' ]?';
		}

		return $message;
	}
759119
function getStatusReason()
    {
        if ($this->statReason)
            return $this->statReason;

        ($reason = \Poirot\Http\Response\getStatReasonFromCode($this->getStatusCode()))
            ?: $reason = 'Unknown';

        return $reason;
    }
674674
public function message()
    {
        if (!$this->error) {
            return '';
        }
        if (isset($this->message)) {
            return $this->message;
        }
        if ($this->messenger) {
            $type          = $this->getType();
            $method        = $this->getErrorMethod();
            $parameter     = $this->getParameter();
            $this->message = $this->messenger->find($type, $method, $parameter);
            
            return $this->message;
        }

        throw new \BadMethodCallException('cannot return a message. ');
    }
883517
public function getMessage()
    {
        $code = $this->getCode();

        if (!array_key_exists($code, $this->_messageMap))
            throw new Error("Unknown HTTP status code: $code");

        return $this->_messageMap[$code];
    }
706609
public function getErrorMessage()
    {
        if (array_key_exists($this->error, $this->errorMessages)) {

            return $this->errorMessages[$this->error];
        }

        return 'Unknow error';
    }
1321391
public function getLastErrorMessage()
    {
        $message = null;
        $error = $this->getConnection()->errorInfo();

        if (is_array($error) && isset($error[2])) {
            $message = $error[2];
        }

        return $message;
    }
506595
public function explain()
    {
        $data     = $this->buildData();
        $response = $this->_connection->post(Urls::URL_EXPLAIN, $this->getConnection()->json_encode_wrapper($data), []);

        return $response->getJson();
    }
971053
public function getMessage()
    {
        $message = $this->parseMessageFromRequest($this->request->getContent(false));

        if (!is_array($message) || empty($message)) {
            throw new BadRequestException('Invalid request.');
        }

        return $message;
    }
485061
public function getErrorMessage()
     {
         $messages = $this->getMessage();
         $critical = $this->getCritical();
         $msgError = "";
         $i = 0;
         foreach ($messages as $message ) {

             if ($critical[$i++]) {
                 $msgError .= "{$message}\n";
             }
         }

         return $msgError;
     }
1044307
public function getContactMessage()
    {
        if ($this->_sContactMessage === null) {
            $this->_sContactMessage = Registry::getConfig()->getRequestParameter('c_message');
        }

        return $this->_sContactMessage;
    }
818787
public function getErrorMessage(): string
    {
        $header = $this->headers->get('grpc-message');
        return $header ? $header->getFirstValue() : substr($this->body, 0, 255);
    }