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 `Display` and `Error` traits for error types #72

Merged
merged 1 commit into from Jan 8, 2018

Conversation

Projects
None yet
2 participants
@lo48576
Copy link
Contributor

lo48576 commented Jan 8, 2018

This enables useful type conversions such as Into<Box<std::error::Error + Sync + Send>> for CacheReadeErr.
Error types should implement std::error::Error.
Implementing Display is necessary to implement Error.

@jackpot51

This comment has been minimized.

Copy link
Member

jackpot51 commented Jan 8, 2018

Looks good, thanks

@jackpot51 jackpot51 merged commit 4a00def into redox-os:master Jan 8, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment