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 Error for SSDPError #4

Open
GGist opened this issue May 14, 2015 · 0 comments
Open

Implement Error for SSDPError #4

GGist opened this issue May 14, 2015 · 0 comments

Comments

@GGist
Copy link
Owner

GGist commented May 14, 2015

This requires removing the generic impl<T> From<T> for SSDPError where T: Error + 'static so we would have to implement From for each error type manually. Still deciding whether we should expose external crate errors by their full type or polymorphically via Box<Error>.

This may require introducing an SSDPError struct that stores the description as a string and converting the current SSDPError to an SSDPErrorKind with all of it's internal data intact (possibly private if that is even possible?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant