Merge pull request #287 from matthiasbeyer/libimagstore/hooks/fix-missing-tostr-impl

Add missing hook_error_type_as_str() impl
This commit is contained in:
Matthias Beyer 2016-03-26 13:56:43 +01:00
commit 94bed5f364

View file

@ -36,7 +36,8 @@ impl Into<HookError> for (HookErrorKind, Box<Error>) {
fn hook_error_type_as_str(e: &HookErrorKind) -> &'static str {
match e {
_ => "",
&HookErrorKind::HookExecutionError => "Hook exec error",
&HookErrorKind::AccessTypeViolation => "Hook access type violation",
}
}