Add missing hook_error_type_as_str() impl

This commit is contained in:
Matthias Beyer 2016-03-25 19:09:09 +01:00
parent 9f8a648600
commit ad35d0bf50

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",
}
}