Rewrite error module

This commit is contained in:
Matthias Beyer 2017-02-23 13:22:06 +01:00
parent ff33c49ea5
commit c773519281

View file

@ -19,13 +19,11 @@
generate_error_module!(
generate_error_types!(AnnotationError, AnnotationErrorKind,
StoreReadError => "Store read error",
StoreWriteError => "Store write error",
StoreIdGenerationError => "Error generating StoreId object",
LinkError => "Link error",
LinkingError => "Error while linking"
StoreReadError => "Store read error",
StoreWriteError => "Store write error",
LinkingError => "Error while linking",
HeaderWriteError => "Couldn't write Header for annotation"
);
);
@ -33,4 +31,3 @@ pub use self::error::AnnotationError;
pub use self::error::AnnotationErrorKind;
pub use self::error::MapErrInto;