Skip to content

Commit a318cb3

Browse files
committed
impl Debug and std::error::Error for s3::Error
1 parent 7aee526 commit a318cb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/s3/error.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use std::fmt;
33
use openssl::error::ErrorStack;
44
use reqwest::Error as ReqwestError;
55

6+
#[derive(Debug)]
67
pub enum Error {
78
Openssl(ErrorStack),
89
Reqwest(ReqwestError),
@@ -28,3 +29,5 @@ impl fmt::Display for Error {
2829
}
2930
}
3031
}
32+
33+
impl std::error::Error for Error {}

0 commit comments

Comments
 (0)