Rewrite error module
This commit is contained in:
parent
ff33c49ea5
commit
c773519281
1 changed files with 4 additions and 7 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue