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