class Requests_Exception_HTTP {}
Exception based on HTTP response
Methods
- __construct — Create a new exception
- get_class — Get the correct exception class for a given error code
- getReason — Get the status message
Source
File: wp-includes/Requests/Exception/HTTP.php
.
View all references
Related
Uses
Uses | Description |
---|---|
Requests_Exception wp-includes/Requests/Exception.php |
Exception for HTTP requests |
Used By
Used By | Description |
---|---|
Requests_Exception_HTTP_403 wp-includes/Requests/Exception/HTTP/403.php |
Exception for 403 Forbidden responses |
Requests_Exception_HTTP_511 wp-includes/Requests/Exception/HTTP/511.php |
Exception for 511 Network Authentication Required responses |
Requests_Exception_HTTP_404 wp-includes/Requests/Exception/HTTP/404.php |
Exception for 404 Not Found responses |
Requests_Exception_HTTP_415 wp-includes/Requests/Exception/HTTP/415.php |
Exception for 415 Unsupported Media Type responses |
Requests_Exception_HTTP_505 wp-includes/Requests/Exception/HTTP/505.php |
Exception for 505 HTTP Version Not Supported responses |
Requests_Exception_HTTP_409 wp-includes/Requests/Exception/HTTP/409.php |
Exception for 409 Conflict responses |
Requests_Exception_HTTP_412 wp-includes/Requests/Exception/HTTP/412.php |
Exception for 412 Precondition Failed responses |
Requests_Exception_HTTP_431 wp-includes/Requests/Exception/HTTP/431.php |
Exception for 431 Request Header Fields Too Large responses |
Requests_Exception_HTTP_402 wp-includes/Requests/Exception/HTTP/402.php |
Exception for 402 Payment Required responses |
Requests_Exception_HTTP_401 wp-includes/Requests/Exception/HTTP/401.php |
Exception for 401 Unauthorized responses |
Requests_Exception_HTTP_504 wp-includes/Requests/Exception/HTTP/504.php |
Exception for 504 Gateway Timeout responses |
Requests_Exception_HTTP_414 wp-includes/Requests/Exception/HTTP/414.php |
Exception for 414 Request-URI Too Large responses |
Requests_Exception_HTTP_406 wp-includes/Requests/Exception/HTTP/406.php |
Exception for 406 Not Acceptable responses |
Requests_Exception_HTTP_413 wp-includes/Requests/Exception/HTTP/413.php |
Exception for 413 Request Entity Too Large responses |
Requests_Exception_HTTP_429 wp-includes/Requests/Exception/HTTP/429.php |
Exception for 429 Too Many Requests responses |
Requests_Exception_HTTP_417 wp-includes/Requests/Exception/HTTP/417.php |
Exception for 417 Expectation Failed responses |
Requests_Exception_HTTP_Unknown wp-includes/Requests/Exception/HTTP/Unknown.php |
Exception for unknown status responses |
Requests_Exception_HTTP_304 wp-includes/Requests/Exception/HTTP/304.php |
Exception for 304 Not Modified responses |
Requests_Exception_HTTP_503 wp-includes/Requests/Exception/HTTP/503.php |
Exception for 503 Service Unavailable responses |
Requests_Exception_HTTP_428 wp-includes/Requests/Exception/HTTP/428.php |
Exception for 428 Precondition Required responses |
Requests_Exception_HTTP_416 wp-includes/Requests/Exception/HTTP/416.php |
Exception for 416 Requested Range Not Satisfiable responses |
Requests_Exception_HTTP_418 wp-includes/Requests/Exception/HTTP/418.php |
Exception for 418 I’m A Teapot responses |
Requests_Exception_HTTP_500 wp-includes/Requests/Exception/HTTP/500.php |
Exception for 500 Internal Server Error responses |
Requests_Exception_HTTP_400 wp-includes/Requests/Exception/HTTP/400.php |
Exception for 400 Bad Request responses |
Requests_Exception_HTTP_502 wp-includes/Requests/Exception/HTTP/502.php |
Exception for 502 Bad Gateway responses |
Requests_Exception_HTTP_408 wp-includes/Requests/Exception/HTTP/408.php |
Exception for 408 Request Timeout responses |
Requests_Exception_HTTP_410 wp-includes/Requests/Exception/HTTP/410.php |
Exception for 410 Gone responses |
Requests_Exception_HTTP_501 wp-includes/Requests/Exception/HTTP/501.php |
Exception for 501 Not Implemented responses |
Requests_Exception_HTTP_405 wp-includes/Requests/Exception/HTTP/405.php |
Exception for 405 Method Not Allowed responses |
Requests_Exception_HTTP_305 wp-includes/Requests/Exception/HTTP/305.php |
Exception for 305 Use Proxy responses |