public function EasyRdf_Http_Response::isError

Check whether the response is an error

Return value

boolean

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Response.php, line 125

Class

EasyRdf_Http_Response
Class that represents an HTTP 1.0 / 1.1 response message.

Code

public function isError() {
  return $this->status >= 400 && $this->status < 600;
}