diff --git a/src/lib.rs b/src/lib.rs index 5d54905..4bb2781 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -172,6 +172,8 @@ impl Display for Error { } } +impl std::error::Error for Error {} + impl Display for ErrorCode { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match *self {