src/Response.php
public function getErrorDescription(): string
    {
        if (isset(self::$errorReasons[$this->statusCode][$this->errorReason])) {
            return self::$errorReasons[$this->statusCode][$this->errorReason];
        }

        return '';
    }
public function getErrorDescription(): string
    {
        if (isset(self::$errorReasons[$this->statusCode][$this->errorReason])) {
            return self::$errorReasons[$this->statusCode][$this->errorReason];
        }

        return '';
    }
public function getErrorDescription ( ) : string { if ( isset ( self :: $ errorReasons [ $ this -> statusCode ] [ $ this -> errorReason ] ) ) { return self :: $ errorReasons [ $ this -> statusCode ] [ $ this -> errorReason ] ; } return '' ; }
Get error description.

@return string
Get error description .