add fmt::Error as core Error source

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-11 00:16:02 +00:00
parent 2ab3231ea6
commit 39110ebc3c

View file

@ -85,6 +85,8 @@ pub enum Error {
#[error("{0}")]
AdminCommand(&'static str),
#[error("{0}")]
Fmt(#[from] fmt::Error),
#[error("{0}")]
Err(String),
}