From bc1af19750d7a6db9e15dc7133a7db3cc3b0fba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Fri, 22 Jul 2016 13:38:54 +0200 Subject: [PATCH] Add FileNot{Written,Seeked} errors --- libimagstore/src/error.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libimagstore/src/error.rs b/libimagstore/src/error.rs index 30a00ab4..3a61a58a 100644 --- a/libimagstore/src/error.rs +++ b/libimagstore/src/error.rs @@ -14,6 +14,8 @@ generate_custom_error_types!(StoreError, StoreErrorKind, CustomErrorData, OutOfMemory => "Out of Memory", FileNotFound => "File corresponding to ID not found", FileNotCreated => "File corresponding to ID could not be created", + FileNotWritten => "File corresponding to ID could not be written to", + FileNotSeeked => "File corresponding to ID could not be seeked", StorePathExists => "Store path exists", StorePathCreate => "Store path create", LockError => "Error locking datastructure",