1 use thiserror::Error; 2 3 #[derive(Debug)] 4 struct NotError; 5 6 #[derive(Error, Debug)] 7 #[error("...")] 8 pub struct ErrorStruct(#[source] NotError); 9 main()10 fn main() {} 11