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
Make errors types adjustable #21
Comments
This was a suggestion by @TheButlah in #13. |
This was referenced May 7, 2022
@TheButlah what's your opinion about this? |
Released as 0.8.0-beta.0. |
Released as 0.8.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently everything is a
Box<dyn Error>
, but as default template arguments for classes exist, we might make that a template argument with the default toBox<dyn Error>
.Reasoning is that this simplifies passing errors from subsystems to this crate and back to the user again, without the user having to resort to weird runtime matching to get the original error type back.
The text was updated successfully, but these errors were encountered: