4d47 / http-exceptions
There is no license information available for the latest version (v1.0) of this package.
v1.0
2014-01-02 23:10 UTC
Requires
- php: >= 5.3.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-19 02:04:44 UTC
README
An exception hierarchy to represent HTTP errors and redirections
- 3xx Redirection
- Error
- 4xx ClientError
- 400 BadRequest
- 401 Unauthorized
- 402 PaymentRequired
- 403 Forbidden
- 404 NotFound
- 405 MethodNotAllowed
- 406 NotAcceptable
- 407 ProxyAuthenticationRequired
- 408 RequestTimeout
- 409 Conflict
- 410 Gone
- 411 LengthRequired
- 412 PreconditionFailed
- 413 RequestEntityTooLarge
- 414 RequestUriTooLong
- 415 UnsupportedMediaType
- 416 RequestRangeNotSatisfiable
- 417 ExpectationFailed
- 418 ImATeapot
- 419 AuthenticationTimeout
- 426 UpgradeRequired
- 428 PreconditionRequired
- 429 TooManyRequests
- 431 RequestHeaderFieldsTooLarge
- 5xx ServerError
- 4xx ClientError