1error_chain! { 2 errors { 3 InvalidInputs(t: &'static str) { 4 description("invalid inputs") 5 display("invalid inputs: '{}'", t) 6 } 7 } 8}