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