Skip to content

Commit 724a5be

Browse files
authored
Merge pull request #18 from peddermaster2/std-error
add impl std::error::Error for Error
2 parents 38b13aa + a5d4343 commit 724a5be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/error.rs

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ impl fmt::Display for Error {
4949
}
5050
}
5151

52+
impl std::error::Error for Error {}
53+
5254
macro_rules! error_wrap {
5355
($f: ty, $e: expr) => {
5456
impl From<$f> for Error {

0 commit comments

Comments
 (0)