libimaginteraction: use generate_error_module!() macro and reexport generated types
This commit is contained in:
parent
21dfa9fba2
commit
d2fa853a08
1 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,9 @@
|
|||
generate_error_imports!();
|
||||
|
||||
generate_error_types!(InteractionError, InteractionErrorKind,
|
||||
Unknown => "Unknown Error"
|
||||
generate_error_module!(
|
||||
generate_error_types!(InteractionError, InteractionErrorKind,
|
||||
Unknown => "Unknown Error"
|
||||
);
|
||||
);
|
||||
|
||||
pub use self::error::InteractionError;
|
||||
pub use self::error::InteractionErrorKind;
|
||||
|
||||
|
|
Loading…
Reference in a new issue