ZenGo-X / curv

Rust language general purpose elliptic curve cryptography.
MIT License
264 stars 111 forks source link

Implement the Error for the error types in the library #117

Closed elichai closed 1 year ago

elichai commented 3 years ago

Adding Debug for ErrorSS allows to unwrap a Result<T, ErrorSS>. and implementing the error trait allows those errors to be propagated via ? when using generic error types (like Box<dyn Error> or anyhow::Error / eyre::Report etc.)