diff --git a/lib/domain/libimagcontact/src/error.rs b/lib/domain/libimagcontact/src/error.rs index f9676357..f433684d 100644 --- a/lib/domain/libimagcontact/src/error.rs +++ b/lib/domain/libimagcontact/src/error.rs @@ -35,6 +35,11 @@ error_chain! { errors { + HeaderTypeError(ty: &'static str, loc: &'static str) { + description("Type error in header") + display("Type error in header, expected {} at '{}', found other type", ty, loc) + } + } }