1 use thiserror::Error; 2 3 #[derive(Error, Debug)] 4 #[error(transparent)] 5 pub struct Error { 6 inner: anyhow::Error, 7 what: String, 8 } 9 main()10 fn main() {} 11