From c773519281625b51ee7b6ba548833d99779b15cb Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 23 Feb 2017 13:22:06 +0100 Subject: [PATCH] Rewrite error module --- libimagannotation/src/error.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/libimagannotation/src/error.rs b/libimagannotation/src/error.rs index 7a750c34..d2ef789b 100644 --- a/libimagannotation/src/error.rs +++ b/libimagannotation/src/error.rs @@ -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; -