diff --git a/libimaginteraction/src/error.rs b/libimaginteraction/src/error.rs index dd3b5807..9285f0fd 100644 --- a/libimaginteraction/src/error.rs +++ b/libimaginteraction/src/error.rs @@ -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; +