Skip to content

Error reporting improvements#29

Merged
danielrbrowne merged 4 commits intomasterfrom
feature/error-reporting-improvements
Apr 1, 2021
Merged

Error reporting improvements#29
danielrbrowne merged 4 commits intomasterfrom
feature/error-reporting-improvements

Conversation

@danielrbrowne
Copy link
Copy Markdown
Owner

This PR:

  • Adds new error cases to APIotaClientError:
    • decodingError and encodingError for reporting failures relating to parsing JSON from request or response bodies.
    • internalError for reporting non-specific errors, where the actual context cannot be determined.

- Adds cases to report decoding / encoding JSON errors
- Adds 'internalError' which reports any non-specific errors
@danielrbrowne danielrbrowne added the feature New feature being introduced label Apr 1, 2021
@danielrbrowne danielrbrowne merged commit d80f652 into master Apr 1, 2021
@danielrbrowne danielrbrowne deleted the feature/error-reporting-improvements branch April 1, 2021 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature being introduced

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant