Add missing hook_error_type_as_str() impl
This commit is contained in:
parent
9f8a648600
commit
ad35d0bf50
1 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue