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 winrt::Error #69

Open
frewsxcv opened this issue Apr 10, 2019 · 2 comments
Open

Implement std::error::Error for winrt::Error #69

frewsxcv opened this issue Apr 10, 2019 · 2 comments

Comments

@frewsxcv
Copy link

Thoughts on implementing the primary Rust error trait for winrt's error type?

@Boddlnagg
Copy link
Collaborator

I think I haven't done that so far because std::error::Error has some deficiencies (which is why https://github.com/rust-lang-nursery/failure is a thing). I'm not sure if we are able to support both. Maybe with a feature flag?

@frewsxcv
Copy link
Author

I think I haven't done that so far because std::error::Error has some deficiencies (which is why https://github.com/rust-lang-nursery/failure is a thing)

It has some deficiencies, yeah, but this RFC was approved which plans to improve it. This is your crate though, so up to you!

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