diff --git a/exceptions/updates/MDNewVocabEntryIsStrictlyTypedAsTag.php b/exceptions/updates/MDNewVocabEntryIsStrictlyTypedAsTag.php new file mode 100644 index 0000000..9f7d111 --- /dev/null +++ b/exceptions/updates/MDNewVocabEntryIsStrictlyTypedAsTag.php @@ -0,0 +1,27 @@ + + */ +declare(strict_types = 1); + +/** + * This file contains an exception class to be used when trying to enter + * a vocabulary entry in the wrong vocabulary. + */ +final class MDNewVocabEntryIsStrictlyTypedAsTag extends MDgenericInvalidInputsException { + /** + * Error message. + * + * @return string + */ + public function errorMessage() { + //error message + return 'The entered term is known to always represent a tag entry. ' . $this->getMessage(); + + } +}