|
|
|
@ -53,7 +53,7 @@ pub struct Error { |
|
|
|
|
|
|
|
|
|
impl error::Error for Error { |
|
|
|
|
fn description(&self) -> &str { self.message } |
|
|
|
|
fn cause(&self) -> Option<&error::Error> { None } |
|
|
|
|
fn cause(&self) -> Option<&dyn error::Error> { None } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// Since errors are the uncommon case, they're boxed. This keeps the size of
|
|
|
|
|