adam-paterson / adam-paterson/ibm-watson-sdk
Update HTTP exceptions
未關閉
enhancement
hacktoberfest
- 主要語言
- PHP
- 星號
- 5
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
We need to replace the `Http\Client\Exception\HttpException` in `IBM\Watson\Core\Client\ExceptionHandler:handle` with a more specific exception.
Watson error responses are usually in the format:
```json
{
"error": "General description of an error.",
"errors": [
{
"message": "Description of a specific constraint violation.",
"path": "The location of the constraint violation."
}
],
"code": 500
}
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。