public function Response::isClientError in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::isClientError()
Is there a client error?
Return value
bool
File
- vendor/
symfony/ http-foundation/ Response.php, line 1068
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function isClientError() {
return $this->statusCode >= 400 && $this->statusCode < 500;
}