We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b3f96 commit 35df14fCopy full SHA for 35df14f
src/error.rs
@@ -17,15 +17,6 @@ pub enum Error {
17
}
18
19
impl ::std::error::Error for Error {
20
- fn description(&self) -> &str {
21
- match *self {
22
- Error::Io(ref e) => e.description(),
23
- Error::Unexpected(_) => "An Unexpected Error Occurred",
24
- Error::InvalidPath(_) => "A Provided Path was invalid",
25
- Error::Unsupported(_) => "Operation is not supported on target os",
26
- }
27
28
-
29
fn cause(&self) -> Option<&dyn std::error::Error> {
30
match *self {
31
Error::Io(ref e) => Some(e),
0 commit comments