Export result-helper here
This commit is contained in:
parent
a6377f322e
commit
af4a0bfaf2
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ generate_custom_error_types!(HookError, HookErrorKind, CustomData,
|
||||||
MutableHooksNotAllowed => "Mutable Hooks are denied"
|
MutableHooksNotAllowed => "Mutable Hooks are denied"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
generate_result_helper!(HookError, HookErrorKind);
|
||||||
|
|
||||||
#[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Copy)]
|
#[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Copy)]
|
||||||
pub struct CustomData {
|
pub struct CustomData {
|
||||||
aborting: bool,
|
aborting: bool,
|
||||||
|
|
Loading…
Reference in a new issue