1 2 3 4 5 6 7 8 9 10
use error_chain::error_chain; error_chain! { errors { ParseError(t: String) { description("Unable to parse UUID") display("Invalid Base64 representation for UUID: '{}'", t) } } }