Add FileNot{Written,Seeked} errors

This commit is contained in:
Marcel Müller 2016-07-22 13:38:54 +02:00
parent 1d1ad65705
commit bc1af19750
No known key found for this signature in database
GPG key ID: 84BD3634786D56CF

View file

@ -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",