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 public Error struct #9

Closed
nukemberg opened this issue Jul 28, 2020 · 3 comments
Closed

Implement std::error::Error for public Error struct #9

nukemberg opened this issue Jul 28, 2020 · 3 comments

Comments

@nukemberg
Copy link

Implementing the std::error::Error trait allows for error forwarding and interoperability with error handling libraries e.g. thiserror.

@nukemberg
Copy link
Author

nukemberg commented Jul 31, 2020

I see that since #![no_std] is used std::error::Error cannot be implemented. Is there any way to make this conditional? e.g. via features?

@VersBinarii
Copy link
Owner

There is a pull request #13 awaiting to address that.
I will merge it as soon as its rebased. If there is no response from author i will apply that change manually over the weekend.

@VersBinarii
Copy link
Owner

Closing this with #17

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

No branches or pull requests

2 participants