add fmt::Error as core Error source
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
2ab3231ea6
commit
39110ebc3c
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,8 @@ pub enum Error {
|
|||
#[error("{0}")]
|
||||
AdminCommand(&'static str),
|
||||
#[error("{0}")]
|
||||
Fmt(#[from] fmt::Error),
|
||||
#[error("{0}")]
|
||||
Err(String),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue