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 trash::Error #17

Merged
merged 2 commits into from
Aug 12, 2020

Conversation

Heliozoa
Copy link
Contributor

@Heliozoa Heliozoa commented Aug 3, 2020

Closes #16
As mentioned in the issue, this would allow improved interoperability with error handling crates. I opted not to display the error code in Display::fmt, as I wasn't sure how the None case should be handled.

src/lib.rs Outdated Show resolved Hide resolved
@ArturKovacs ArturKovacs merged commit 8765acf into Byron:master Aug 12, 2020
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.

Implement std::error::Error for trash::Error
2 participants