diff --git a/imag-store/src/error.rs b/imag-store/src/error.rs index f68d5dc0..ae9162f0 100644 --- a/imag-store/src/error.rs +++ b/imag-store/src/error.rs @@ -1,7 +1,10 @@ -generate_error_imports!(); - -generate_error_types!(StoreError, StoreErrorKind, - BackendError => "Backend Error", - NoCommandlineCall => "No commandline call" +generate_error_module!( + generate_error_types!(StoreError, StoreErrorKind, + BackendError => "Backend Error", + NoCommandlineCall => "No commandline call" + ); ); +pub use self::error::StoreError; +pub use self::error::StoreErrorKind; +