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