keboola/common-exceptions
最新稳定版本:1.2.1
Composer 安装命令:
composer require keboola/common-exceptions
包简介
Common exceptions shared between different applications
README 文档
README
This package provides common exception interfaces to be shared between different Keboola systems.
Usage
In your library or application implement
UserExceptionInterfacefor exceptions that are caused by user's error. That usually means validation failures, HTTP404s, HTTP403s, etc. Anything where user can take any step to fix it.Also there is
ApplicationExceptionInterfacefor the other thing - where you want to explicitly state that the exception is NOT user error.
Development
Clone this repository and init the workspace with following command:
git clone https://github.com/keboola/common-exceptions
cd common-exceptions
docker-compose build
docker-compose run --rm dev composer install --no-scripts
Run the test suite using this command:
docker-compose run --rm dev composer tests
Integration
For information about deployment and integration with KBC, please refer to the deployment section of developers documentation
License
MIT licensed, see LICENSE file.
统计信息
- 总下载量: 169.78k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 15
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-20