use anyhow::Error; #[derive(Debug)] #[allow(dead_code)] pub struct AppError(Error); impl From for AppError where E: Into, { fn from(err: E) -> Self { Self(err.into()) } }