adam-paterson / adam-paterson/ibm-watson-sdk
Fix exception messages
- 主要语言
- PHP
- 星标
- 5
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
API errors are in the format:
```json
{
"code":401,
"error":"Not Authorized",
"description":"2017-10-06T08:57:02-04:00, Error ERCDPLTFRM-DNLKUPERR occurred when accessing https://gateway.watsonplatform.net/tone-analyzer/api/v3/tone?version=2017-10-06&sentences=1, Tran-Id: gateway-dp01-307987946 - Invalid UserId and/or Password. Please confirm that your credentials match the end-point you are trying to access. A common error is trying to use credentials from an experimental or beta release against a GA release or vice versa"
}
```
We need to amend `\IBM\Watson\Common\Api\AbstractApi::handleErrors()` to account for that format.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。