Add error for header type error

This commit is contained in:
Matthias Beyer 2017-09-23 20:24:54 +02:00
parent aae19221b6
commit f2bd241a59

View file

@ -35,6 +35,11 @@ error_chain! {
errors { 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)
}
} }
} }