use thiserror_nostd_notrait::Error; #[derive(Error, Debug)] #[error(transparent)] pub struct Error { inner: anyhow::Error, what: String, } fn main() {}