diff --git a/libimagstore/src/error.rs b/libimagstore/src/error.rs index 39b47034..78588cfb 100644 --- a/libimagstore/src/error.rs +++ b/libimagstore/src/error.rs @@ -27,6 +27,7 @@ pub enum StoreErrorKind { HeaderPathTypeFailure, HeaderKeyNotFound, HeaderTypeFailure, + HookRegisterError, // maybe more } @@ -50,6 +51,7 @@ fn store_error_type_as_str(e: &StoreErrorKind) -> &'static str { &StoreErrorKind::HeaderPathTypeFailure => "Header has wrong type for path", &StoreErrorKind::HeaderKeyNotFound => "Header Key not found", &StoreErrorKind::HeaderTypeFailure => "Header type is wrong", + &StoreErrorKind::HookRegisterError => "Hook register error", } }