Skip to content

refactor(errors): use thiserror to provide more context-rich errors #2

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

Merged
merged 1 commit into from
Feb 8, 2022

Conversation

samuelvanderwaal
Copy link
Contributor

This PR does a minor refactor of the BundlrError enum to use the thiserror library to provide more context rich errors.

The change goes from opaque errors such as the ResponseError:
Selection_603

to something that provides better context:
Selection_602

@joshbenaron joshbenaron merged commit 0946a8f into Irys-xyz:master Feb 8, 2022
@samuelvanderwaal samuelvanderwaal deleted the better-errors branch February 8, 2022 05:44
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