-
Notifications
You must be signed in to change notification settings - Fork 31
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
glyph::Error is not std:error::Error #334
Comments
The C-GOOD-ERR) API guideline from the Rust API guidelines states that "Error types should be meaningful and well-behaved". If an error type does not implement |
Notice that this code has moved here https://github.com/PistonDevelopers/graphics/blob/master/src/glyph_cache/rusttype.rs |
According to https://github.com/PistonDevelopers/gfx_texture/blob/master/src/lib.rs, it seems error types are reexported from Gfx. |
@bvssvni I was looking for the concrete |
Head's up! The issue was created before LL transition. If you are to submit a PR (that would be great!), it needs to go towards |
I noticed this when trying to add
error_chain
to my project, because the following doesn't compile: (piston_window::Glyphs
isgfx_graphics::GlyphCache
)The error notes:
I think this would be fixed if
glyph::Error
implementedstd::error::Error
. However, I don't claim to fully understand the situation. Could this implementation be added?The text was updated successfully, but these errors were encountered: