grovesNL / spirv_cross

Safe Rust wrapper around SPIRV-Cross
Apache License 2.0
86 stars 42 forks source link

implement std::error::Error for ErrorCode #147

Closed bootra-dev closed 4 years ago

bootra-dev commented 4 years ago

With respect to https://github.com/grovesNL/spirv_cross/issues/49, I think that keeping an error type is the most flexible way to handle errors. This pull request implements Error (and by requirement, Display), to make integrating with other error types easier.

bors[bot] commented 4 years ago

Build succeeded: