Rewrite error module

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

View file

@ -21,11 +21,9 @@ generate_error_module!(
generate_error_types!(AnnotationError, AnnotationErrorKind, generate_error_types!(AnnotationError, AnnotationErrorKind,
StoreReadError => "Store read error", StoreReadError => "Store read error",
StoreWriteError => "Store write error", StoreWriteError => "Store write error",
StoreIdGenerationError => "Error generating StoreId object",
LinkError => "Link error",
LinkingError => "Error while linking"
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::AnnotationErrorKind;
pub use self::error::MapErrInto; pub use self::error::MapErrInto;