Add error kinds for configuration errors
This commit is contained in:
parent
f689784402
commit
c09f0b302f
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
generate_error_module!(
|
generate_error_module!(
|
||||||
generate_error_types!(GitHookError, GitHookErrorKind,
|
generate_error_types!(GitHookError, GitHookErrorKind,
|
||||||
|
ConfigError => "Configuration Error",
|
||||||
|
ConfigTypeError => "Configuration value type wrong",
|
||||||
MkRepo => "Repository creation error"
|
MkRepo => "Repository creation error"
|
||||||
);
|
);
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue