public function hasError(): bool
    {
        return isset($this->decodedBody['error']) || isset($this->decodedBody['errors']) || isset($this->decodedBody['field-errors']);
    }
public function hasError(): bool
    {
        return isset($this->decodedBody['error']) || isset($this->decodedBody['errors']) || isset($this->decodedBody['field-errors']);
    }
public function hasError ( ) : bool { return isset ( $ this -> decodedBody [ 'error' ] ) || isset ( $ this -> decodedBody [ 'errors' ] ) || isset ( $ this -> decodedBody [ 'field-errors' ] ) ; }
Gets whether the Close.io server returned an error.

@return bool
Gets whether the Close . io server returned an error .