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