2022-05-15 17:45:33 +02:00
|
|
|
<?PHP
|
|
|
|
declare(strict_types = 1);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Exception thrown in case of inputs longer than the allowed length of a
|
|
|
|
* field's contents in the DB.
|
|
|
|
*/
|
|
|
|
final class MDInputTooLongException extends MDgenericInvalidInputsException {
|
|
|
|
/**
|
|
|
|
* Error message.
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function errorMessage() {
|
|
|
|
//error message
|
2022-09-15 21:06:32 +02:00
|
|
|
return 'Input string is too long';
|
2022-05-15 17:45:33 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|