mirror of
https://github.com/larksuite/cli.git
synced 2026-09-14 18:42:53 +08:00
a73c9ae27e
- Add internal/client/api_errors.go with WrapDoAPIError and WrapJSONResponseParseError to classify JSON decode issues vs generic network errors - Route cmd/api DoAPI errors and HandleResponse JSON parse errors through the new helpers - Add regression tests in cmd/api and internal/client Related: https://github.com/larksuite/cli/issues/215
1.8 KiB
1.8 KiB