blank-framework/problem-details-exceptions
最新稳定版本:v1.0.0
Composer 安装命令:
composer require blank-framework/problem-details-exceptions
包简介
List of common HTTP exceptions for use as problem details responses
README 文档
README
The problem details exceptions package contains very simple classes for common HTTP exceptions. These are intended to allow quick exits in applications while providing proper HTTP status code. You may also use this package to create your own custom exceptions with the HTTP codes as the base.
This package is a continuation on the Blank Framework Web Exceptions package.
Additionally all exceptions should be Problem Details capable.
Included HTTP responses
- 400 - Bad Request
- 401 - Unauthorised
- 403 - Forbidden
- 404 - Not Found
- 405 - Method not allowed
- 406 - Not Acceptable
- 418 - I'm a teapot
- 422 - Unprocessable Entity
- 500 - Internal Server Error
- 501 - Not Implemented
- 502 - Bad Gateway
- 503 - Service Unavailable
- 504 - Gateway Timeout
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2023-12-02