From ad35d0bf505559c3a498612fc59ec5ce7b311e97 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 25 Mar 2016 19:09:09 +0100 Subject: [PATCH] Add missing hook_error_type_as_str() impl --- libimagstore/src/hook/error.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libimagstore/src/hook/error.rs b/libimagstore/src/hook/error.rs index 24740128..a4769af3 100644 --- a/libimagstore/src/hook/error.rs +++ b/libimagstore/src/hook/error.rs @@ -36,7 +36,8 @@ impl Into for (HookErrorKind, Box) { fn hook_error_type_as_str(e: &HookErrorKind) -> &'static str { match e { - _ => "", + &HookErrorKind::HookExecutionError => "Hook exec error", + &HookErrorKind::AccessTypeViolation => "Hook access type violation", } }