Add error kind if config is not available

This commit is contained in:
Matthias Beyer 2016-07-22 15:04:51 +02:00
parent e5503116ad
commit 2ef530b462

View file

@ -5,6 +5,7 @@ use libimagstore::hook::result::HookResult;
generate_error_module!( generate_error_module!(
generate_error_types!(GitHookError, GitHookErrorKind, generate_error_types!(GitHookError, GitHookErrorKind,
ConfigError => "Configuration Error", ConfigError => "Configuration Error",
NoConfigError => "No Configuration",
ConfigTypeError => "Configuration value type wrong", ConfigTypeError => "Configuration value type wrong",
RuntimeInformationSetupError => "Couldn't setup runtime information for git hook", RuntimeInformationSetupError => "Couldn't setup runtime information for git hook",
RepositoryError => "Error while interacting with git repository", RepositoryError => "Error while interacting with git repository",