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

Typed error handling #6

Merged
merged 3 commits into from
Feb 28, 2024
Merged

Conversation

bytemunch
Copy link
Contributor

builds on #2 from @Leinnan

prevents panic when receiving malformed data, allows user handling of errors

breaking: changes the structure of HttpResponseError for parity with the new TypedResponseError (it needed phantom data and an extra field for the http response)

adds error handling to the typed example

@foxzool foxzool merged commit b4151df into foxzool:master Feb 28, 2024
3 checks passed
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