We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/kintone/js-sdk/blob/master/packages/rest-api-client/docs/errorHandling.md#kintonerestapierror 公式ドキュメントでは、KintoneRestAPIErrorのプロパティ内でエラーの手がかりになりそうなのは messageくらいしかありません。 しかし実際にはerrorsというオブジェクトがあって、 この中にはエラーの詳細がかなり詳しく入っています。
message
errors
エラーハンドリングの際にはいつもこのKintoneRestAPIError#errorsを使うのですが、 なぜドキュメントにはerrorsオブジェクトが明記されてないのでしょうか? これがないとまともなエラーハンドリングができないので、ぜひドキュメントで言及してください。 ドキュメントに書いてある情報だけでエラーハンドリングしようとすると、 APIを生で叩くほうがマシになってしまいます。 よろしくお願いします。
KintoneRestAPIError#errors
@kintone/rest-api-client
5.0
https://github.com/kintone/js-sdk/blob/master/packages/rest-api-client/docs/errorHandling.md#kintonerestapierror このドキュメントを読む
ドキュメント内にKintoneRestAPIError#errorsについての詳細が載っている状態
ドキュメント内にKintoneRestAPIErrorについて触れられていない
KintoneRestAPIError
環境問わず
The text was updated successfully, but these errors were encountered:
@the-red 確認が遅くなりすみません、フィードバックありがとうございます!
こちらチーム内で検討させていただきます! ※errorsプロパティ自体の追加は行う方針で進めると思います。
Sorry, something went wrong.
No branches or pull requests
概要
https://github.com/kintone/js-sdk/blob/master/packages/rest-api-client/docs/errorHandling.md#kintonerestapierror
公式ドキュメントでは、KintoneRestAPIErrorのプロパティ内でエラーの手がかりになりそうなのは
message
くらいしかありません。しかし実際には
errors
というオブジェクトがあって、この中にはエラーの詳細がかなり詳しく入っています。
エラーハンドリングの際にはいつもこの
KintoneRestAPIError#errors
を使うのですが、なぜドキュメントには
errors
オブジェクトが明記されてないのでしょうか?これがないとまともなエラーハンドリングができないので、ぜひドキュメントで言及してください。
ドキュメントに書いてある情報だけでエラーハンドリングしようとすると、
APIを生で叩くほうがマシになってしまいます。
よろしくお願いします。
対象パッケージ
@kintone/rest-api-client
対象バージョン
5.0
再現手順
https://github.com/kintone/js-sdk/blob/master/packages/rest-api-client/docs/errorHandling.md#kintonerestapierror
このドキュメントを読む
期待する挙動
ドキュメント内に
KintoneRestAPIError#errors
についての詳細が載っている状態実際の挙動
ドキュメント内に
KintoneRestAPIError
について触れられていない環境
環境問わず
The text was updated successfully, but these errors were encountered: