Skip to content
New issue

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

feat: Add AxiomError for more detailed error messages #141

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

bahlo
Copy link
Member

@bahlo bahlo commented Sep 24, 2024

This adds the AxiomError exception, parsing the Axiom error response. If the response does not match the JSON format, it falls back to a generic HTTP error.

@bahlo bahlo force-pushed the arne/improve-error-handling branch from 5fe9ccf to 2f640ac Compare September 24, 2024 16:05
@bahlo bahlo force-pushed the arne/improve-error-handling branch from 2f640ac to d098615 Compare September 24, 2024 16:06
Copy link
Contributor

@darach darach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@darach darach merged commit 80e5f2d into main Sep 24, 2024
7 checks passed
@darach darach deleted the arne/improve-error-handling branch September 24, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants