summaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/lib.rs')
-rw-r--r--rust/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/src/lib.rs b/rust/src/lib.rs
index 4b227392..99035b85 100644
--- a/rust/src/lib.rs
+++ b/rust/src/lib.rs
@@ -50,6 +50,10 @@ pub mod errors {
description("external identifier doesn't match required pattern")
display("external identifier doesn't match required pattern")
}
+ NotInControlledVocabulary(word: String) {
+ description("word or type not correct for controlled vocabulary")
+ display("word or type not correct for controlled vocabulary")
+ }
EditgroupAlreadyAccepted(id: String) {
description("editgroup was already accepted")
display("attempted to accept an editgroup which was already accepted: {}", id)