summaryrefslogtreecommitdiffstats
path: root/libimagstore/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libimagstore/src/error.rs')
-rw-r--r--libimagstore/src/error.rs12
1 files changed, 11 insertions, 1 deletions
diff --git a/libimagstore/src/error.rs b/libimagstore/src/error.rs
index e14ed119..6432e0f3 100644
--- a/libimagstore/src/error.rs
+++ b/libimagstore/src/error.rs
@@ -32,7 +32,17 @@ generate_custom_error_types!(StoreError, StoreErrorKind, CustomErrorData,
StorePathLacksVersion => "The supplied store path has no version part",
GlobError => "glob() error",
EncodingError => "Encoding error",
- StorePathError => "Store Path error"
+ StorePathError => "Store Path error",
+
+ CreateCallError => "Error when calling create()",
+ RetrieveCallError => "Error when calling retrieve()",
+ GetCallError => "Error when calling get()",
+ GetAllVersionsCallError => "Error when calling get_all_versions()",
+ RetrieveForModuleCallError => "Error when calling retrieve_for_module()",
+ UpdateCallError => "Error when calling update()",
+ RetrieveCopyCallError => "Error when calling retrieve_copy()",
+ DeleteCallError => "Error when calling delete()"
+
);
generate_custom_error_types!(ParserError, ParserErrorKind, CustomErrorData,