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