Add exceptions for invalid weight and length units

This commit is contained in:
2020-08-06 11:34:33 +02:00
committed by Stefan Rohde-Enslin
parent ac9cda19fc
commit 7ed9502290
4 changed files with 60 additions and 1 deletions

View File

@ -12,7 +12,7 @@ declare(strict_types = 1);
* Custom exception class to be raised when trying to use a license that is not
* accepted by museum-digital.
*/
class MDInvalidLicense extends Exception {
class MDInvalidLicense extends MDgenericInvalidInputsException {
/**
* Error message.