-
Notifications
You must be signed in to change notification settings - Fork 55
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 errors #27
Comments
There's already an error type that uses Lines 73 to 98 in 9c13d51
What else would be needed? |
I didn't realise there was such a struct already in place. It should be enough for anyhow. It just requires I can try to update all places that still use a |
Go ahead if you want. The reason I didn't bother was that those are all internal to the crate and so don't affect the API. |
Currently the error type is
Err(String)
for most (maybe all) operations. This means you can't use this library with something like anyhow.I've heard good things about thiserror. Maybe that's an alternative?
The text was updated successfully, but these errors were encountered: