phapi / exception
此包已被废弃,不再维护。未建议替代包。
Phapi 异常
1.0.1
2016-09-21 08:53 UTC
Requires
- php: >=5.6.0
- phapi/contract: 1.*
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2021-02-13 15:23:32 UTC
README
该包包含一组与 HTTP 错误响应匹配的异常。当抛出这些异常时,Phapi 会负责记录错误并发送适当的错误响应。
安装
该包默认由 Phapi 框架安装。如果需要单独安装,可以使用 composer。
$ composer require phapi/exception:1.*
包含的异常
- BadGateway
- BadRequest
- Conflict
- Forbidden
- Gone
- InternalServerError
- Locked
- MethodNotAllowed
- NotAcceptable
- NotFound
- NotImplemented
- PaymentRequired
- RequestEntityTooLarge
- RequestTimeout
- ServiceUnavailable
- TooManyRequests
- Unauthorized
- UnprocessableEntity
- UnsupportedMediaType
许可
Phapi Exception 依据 MIT 许可证授权 - 详细信息请参阅license.md文件
贡献
贡献、错误修复等始终欢迎。提交问题。