summaryrefslogtreecommitdiffstats
path: root/libimagref
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-09-21 18:03:07 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-10-12 19:17:40 +0200
commiteec6ef0652451beee12725f29e2ff66d95714ee4 (patch)
tree1cc4c294752d635b47c502cabd6a9b1fed9f42b1 /libimagref
parent80a320d769611ca7da7da30f1c6640824ffb6172 (diff)
Add agnostic "RefHashingError"
to be used by implementors of Hasher.
Diffstat (limited to 'libimagref')
-rw-r--r--libimagref/src/error.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/libimagref/src/error.rs b/libimagref/src/error.rs
index b1e5e2c5..a133e8a5 100644
--- a/libimagref/src/error.rs
+++ b/libimagref/src/error.rs
@@ -41,7 +41,9 @@ generate_error_module!(
RefTargetPermissionError => "Ref Target permissions insufficient for referencing",
RefTargetCannotBeHashed => "Ref Target cannot be hashed (is it a directory?)",
RefTargetFileCannotBeOpened => "Ref Target File cannot be open()ed",
- RefTargetCannotReadPermissions => "Ref Target: Cannot read permissions"
+ RefTargetCannotReadPermissions => "Ref Target: Cannot read permissions",
+
+ RefHashingError => "Error while hashing"
);
);