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

implement std::error::Error for PrinterError #7

Conversation

ldicocco
Copy link
Contributor

Having the std::error::Error trait is very useful when using crates like sentry and anyhow and comes almost for free, as all methods have default implementation if Display / Debug are implemented.

@fabienbellanger fabienbellanger merged commit 9a593d2 into fabienbellanger:main Feb 23, 2024
1 check passed
@ldicocco ldicocco deleted the implement-stderrorError-for-PrinterError branch February 24, 2024 16:43
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.

None yet

2 participants