From df33dec0c37e65bafebe8bc9dd3579390c48d925 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 12 May 2016 15:03:57 +0200 Subject: [PATCH] Add new error kind: StorePathError --- libimagstore/src/error.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libimagstore/src/error.rs b/libimagstore/src/error.rs index 3e32bf96..dda0f9fd 100644 --- a/libimagstore/src/error.rs +++ b/libimagstore/src/error.rs @@ -28,7 +28,8 @@ generate_error_types!(StoreError, StoreErrorKind, PostHookExecuteError => "Post-Hook execution error", StorePathLacksVersion => "The supplied store path has no version part", GlobError => "glob() error", - EncodingError => "Encoding error" + EncodingError => "Encoding error", + StorePathError => "Store Path error" ); generate_error_types!(ParserError, ParserErrorKind,