libimaginteraction: use generate_error_module!() macro and reexport generated types

This commit is contained in:
Matthias Beyer 2016-05-19 17:11:18 +02:00
parent 21dfa9fba2
commit d2fa853a08

View file

@ -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;