We’ve added error codes to the SDK so you can handle one cause of an error without parsing the response body. Each API error now carries the API’s error code, message, and details, and each error code has its own exception class (in Go, a constant). To use error codes, update to the latest version of the SDK. See Handle errors.
We’ve added error codes to the SDK so you can handle one cause of an error without parsing the response body. Each API error now carries the API’s error code, message, and details, and each error code has its own exception class (in Go, a constant). To use error codes, update to the latest version of the SDK. See Handle errors.
本文内容采集自官方网站,排版和翻译可能与原页面存在差异。
阅读官方全文