src/PortaText/Command/Result.php
public function errors()
    {
        if (isset($this->data) && isset($this->data["error_description"])) {
            return $this->data["error_description"];
        }
        return null;
    }
public function errors()
    {
        if (isset($this->data) && isset($this->data["error_description"])) {
            return $this->data["error_description"];
        }
        return null;
    }
public function errors ( ) { if ( isset ( $ this -> data ) && isset ( $ this -> data [ "error_description" ] ) ) { return $ this -> data [ "error_description" ] ; } return null ; }
When the request was not successful, this will return all the errors.

@return array|null
When the request was not successful this will return all the errors .