libimagentryview: 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 b624ba9c06
commit 21dfa9fba2

View file

@ -1,6 +1,9 @@
generate_error_imports!();
generate_error_types!(ViewError, ViewErrorKind,
Unknown => "Unknown view error"
generate_error_module!(
generate_error_types!(ViewError, ViewErrorKind,
Unknown => "Unknown view error"
);
);
pub use self::error::ViewError;
pub use self::error::ViewErrorKind;