concrete/src/Application/EditResponse.php
public function hasError()
    {
        $error = $this->getError();
        if ($error instanceof ErrorList) {
            return $error->has();
        }
        if ($error instanceof Exception) {
            return true;
        }

        return (string) $error !== '';
    }
public function hasError()
    {
        $error = $this->getError();
        if ($error instanceof ErrorList) {
            return $error->has();
        }
        if ($error instanceof Exception) {
            return true;
        }

        return (string) $error !== '';
    }
public function hasError ( ) { $ error = $ this -> getError ( ) ; if ( $ error instanceof ErrorList ) { return $ error -> has ( ) ; } if ( $ error instanceof Exception ) { return true ; } return ( string ) $ error !== '' ; }
Does this response contain an error?

@return bool
Does this response contain an error?