https://github.com/4d47/php-http-exceptions
An exception hierarchy to represent HTTP errors and redirections
https://github.com/4d47/php-http-exceptions
Last synced: about 1 month ago
JSON representation
An exception hierarchy to represent HTTP errors and redirections
- Host: GitHub
- URL: https://github.com/4d47/php-http-exceptions
- Owner: 4d47
- License: mit
- Created: 2014-01-02T23:06:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-14T00:46:47.000Z (almost 11 years ago)
- Last Synced: 2025-03-04T22:06:06.097Z (about 2 months ago)
- Language: PHP
- Size: 191 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
php-http-exception
===================An exception hierarchy to represent HTTP errors and redirections
[Exception](src/Http/Exception.php)
* [3xx Redirection](src/Http/Redirection.php)
* [300 MultipleChoices](src/Http/MultipleChoices.php)
* [301 MovedPermanently](src/Http/MovedPermanently.php)
* [302 Found](src/Http/Found.php)
* [303 SeeOther](src/Http/SeeOther.php)
* [304 NotModified](src/Http/NotModified.php)
* [305 UseProxy](src/Http/UseProxy.php)
* [306 SwitchProxy](src/Http/SwitchProxy.php)
* [307 TemporaryRedirect](src/Http/TemporaryRedirect.php)
* [308 PermanentRedirect](src/Http/PermanentRedirect.php)
* [Error](src/Http/Error.php)
* [4xx ClientError](src/Http/ClientError.php)
* [400 BadRequest](src/Http/BadRequest.php)
* [401 Unauthorized](src/Http/Unauthorized.php)
* [402 PaymentRequired](src/Http/PaymentRequired.php)
* [403 Forbidden](src/Http/Forbidden.php)
* [404 NotFound](src/Http/NotFound.php)
* [405 MethodNotAllowed](src/Http/MethodNotAllowed.php)
* [406 NotAcceptable](src/Http/NotAcceptable.php)
* [407 ProxyAuthenticationRequired](src/Http/ProxyAuthenticationRequired.php)
* [408 RequestTimeout](src/Http/RequestTimeout.php)
* [409 Conflict](src/Http/Conflict.php)
* [410 Gone](src/Http/Gone.php)
* [411 LengthRequired](src/Http/LengthRequired.php)
* [412 PreconditionFailed](src/Http/PreconditionFailed.php)
* [413 RequestEntityTooLarge](src/Http/RequestEntityTooLarge.php)
* [414 RequestUriTooLong](src/Http/RequestUriTooLong.php)
* [415 UnsupportedMediaType](src/Http/UnsupportedMediaType.php)
* [416 RequestRangeNotSatisfiable](src/Http/RequestRangeNotSatisfiable.php)
* [417 ExpectationFailed](src/Http/ExpectationFailed.php)
* [418 ImATeapot](src/Http/ImATeapot.php)
* [419 AuthenticationTimeout](src/Http/AuthenticationTimeout.php)
* [426 UpgradeRequired](src/Http/UpgradeRequired.php)
* [428 PreconditionRequired](src/Http/PreconditionRequired.php)
* [429 TooManyRequests](src/Http/TooManyRequests.php)
* [431 RequestHeaderFieldsTooLarge](src/Http/RequestHeaderFieldsTooLarge.php)
* [5xx ServerError](src/Http/ServerError.php)
* [500 InternalServerError](src/Http/InternalServerError.php)
* [501 NotImplemented](src/Http/NotImplemented.php)
* [502 BadGateway](src/Http/BadGateway.php)
* [503 ServiceUnavailable](src/Http/ServiceUnavailable.php)
* [504 GatewayTimeout](src/Http/GatewayTimeout.php)
* [505 HttpVersionNotSupported](src/Http/HttpVersionNotSupported.php)
* [506 VariantAlsoNegotiates](src/Http/VariantAlsoNegotiates.php)
* [509 BandwidthLimitExceeded](src/Http/BandwidthLimitExceeded.php)
* [510 NotExtended](src/Http/NotExtended.php)
* [511 NetworkAuthenticationRequired](src/Http/NetworkAuthenticationRequired.php)
* [522 ConnectionTimedOut](src/Http/ConnectionTimedOut.php)