Moved names into separate module.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use super::message::{Field, FieldType};
|
||||
use crate::name::Name;
|
||||
use isolang::Language;
|
||||
use super::message::{Field, FieldType, Name};
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
@@ -20,6 +21,7 @@ pub enum MTTError {
|
||||
NameDuplicate(Name),
|
||||
NameInvalidID(Uuid),
|
||||
NameMissingTranslation(Language),
|
||||
NameNotUniquePerLanguage(Name),
|
||||
NameNotFound(Name),
|
||||
QueryCannotChangeData,
|
||||
RouteRequiresDocumentID,
|
||||
|
||||
Reference in New Issue
Block a user