mirror of
https://github.com/jwinterm/mwixnet.git
synced 2026-11-19 20:53:58 +01:00
switch to thiserror for config
This commit is contained in:
@@ -42,12 +42,6 @@ pub enum ErrorKind {
|
||||
/// Error from invalid signature
|
||||
#[fail(display = "invalid signature")]
|
||||
InvalidSigError,
|
||||
/// Error while saving config
|
||||
#[fail(display = "save config error: {}", _0)]
|
||||
SaveConfigError(String),
|
||||
/// Error while loading config
|
||||
#[fail(display = "load config error: {}", _0)]
|
||||
LoadConfigError(String),
|
||||
}
|
||||
|
||||
impl std::error::Error for Error {}
|
||||
|
||||
Reference in New Issue
Block a user