Exception based on HTTP response
Methods
Name | Description |
---|---|
Requests_Exception_HTTP::__construct | Create a new exception |
Requests_Exception_HTTP::get_class | Get the correct exception class for a given error code |
Requests_Exception_HTTP::getReason | Get the status message |
Source
Related
Uses | Description |
---|---|
Requests_Exceptionwp-includes/Requests/Exception.php | Exception for HTTP requests |
Used by | Description |
---|---|
Requests_Exception_HTTP_403wp-includes/Requests/Exception/HTTP/403.php | Exception for 403 Forbidden responses |
Requests_Exception_HTTP_511wp-includes/Requests/Exception/HTTP/511.php | Exception for 511 Network Authentication Required responses |
Requests_Exception_HTTP_404wp-includes/Requests/Exception/HTTP/404.php | Exception for 404 Not Found responses |
Requests_Exception_HTTP_415wp-includes/Requests/Exception/HTTP/415.php | Exception for 415 Unsupported Media Type responses |
Requests_Exception_HTTP_505wp-includes/Requests/Exception/HTTP/505.php | Exception for 505 HTTP Version Not Supported responses |
Requests_Exception_HTTP_409wp-includes/Requests/Exception/HTTP/409.php | Exception for 409 Conflict responses |
Requests_Exception_HTTP_412wp-includes/Requests/Exception/HTTP/412.php | Exception for 412 Precondition Failed responses |
Requests_Exception_HTTP_431wp-includes/Requests/Exception/HTTP/431.php | Exception for 431 Request Header Fields Too Large responses |
Requests_Exception_HTTP_402wp-includes/Requests/Exception/HTTP/402.php | Exception for 402 Payment Required responses |
Requests_Exception_HTTP_401wp-includes/Requests/Exception/HTTP/401.php | Exception for 401 Unauthorized responses |
Requests_Exception_HTTP_504wp-includes/Requests/Exception/HTTP/504.php | Exception for 504 Gateway Timeout responses |
Requests_Exception_HTTP_414wp-includes/Requests/Exception/HTTP/414.php | Exception for 414 Request-URI Too Large responses |
Requests_Exception_HTTP_406wp-includes/Requests/Exception/HTTP/406.php | Exception for 406 Not Acceptable responses |
Requests_Exception_HTTP_413wp-includes/Requests/Exception/HTTP/413.php | Exception for 413 Request Entity Too Large responses |
Requests_Exception_HTTP_429wp-includes/Requests/Exception/HTTP/429.php | Exception for 429 Too Many Requests responses |
Requests_Exception_HTTP_417wp-includes/Requests/Exception/HTTP/417.php | Exception for 417 Expectation Failed responses |
Requests_Exception_HTTP_Unknownwp-includes/Requests/Exception/HTTP/Unknown.php | Exception for unknown status responses |
Requests_Exception_HTTP_304wp-includes/Requests/Exception/HTTP/304.php | Exception for 304 Not Modified responses |
Requests_Exception_HTTP_503wp-includes/Requests/Exception/HTTP/503.php | Exception for 503 Service Unavailable responses |
Requests_Exception_HTTP_428wp-includes/Requests/Exception/HTTP/428.php | Exception for 428 Precondition Required responses |
Requests_Exception_HTTP_416wp-includes/Requests/Exception/HTTP/416.php | Exception for 416 Requested Range Not Satisfiable responses |
Requests_Exception_HTTP_418wp-includes/Requests/Exception/HTTP/418.php | Exception for 418 I’m A Teapot responses |
Requests_Exception_HTTP_500wp-includes/Requests/Exception/HTTP/500.php | Exception for 500 Internal Server Error responses |
Requests_Exception_HTTP_400wp-includes/Requests/Exception/HTTP/400.php | Exception for 400 Bad Request responses |
Requests_Exception_HTTP_502wp-includes/Requests/Exception/HTTP/502.php | Exception for 502 Bad Gateway responses |
Requests_Exception_HTTP_408wp-includes/Requests/Exception/HTTP/408.php | Exception for 408 Request Timeout responses |
Requests_Exception_HTTP_410wp-includes/Requests/Exception/HTTP/410.php | Exception for 410 Gone responses |
Requests_Exception_HTTP_501wp-includes/Requests/Exception/HTTP/501.php | Exception for 501 Not Implemented responses |
Requests_Exception_HTTP_405wp-includes/Requests/Exception/HTTP/405.php | Exception for 405 Method Not Allowed responses |
Requests_Exception_HTTP_305wp-includes/Requests/Exception/HTTP/305.php | Exception for 305 Use Proxy responses |
User Contributed Notes
You must log in before being able to contribute a note or feedback.