diff --git a/src/lib.rs b/src/lib.rs index 7bee922..56f6759 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -475,6 +475,8 @@ pub enum Error { pub type Result = std::result::Result; +impl std::error::Error for Error {} + impl Display for Error { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self {