exceptions
generic
MDAccessDeniedException.php
MDConfigCannotBeLoadedException.php
MDExpectedException.php
MDFileDoesNotExist.php
MDFileIsNotReadable.php
MDInaccessiblePropertyException.php
MDInputTooLongException.php
MDInvalidColorCode.php
MDInvalidCsv.php
MDInvalidEmail.php
MDInvalidEmptyInputException.php
MDInvalidUrl.php
MDOutputBufferNotStarted.php
MDParseException.php
MDRequiredConfigNotSet.php
MDWrongCsrfTokenException.php
MDgenericInvalidInputsException.php
MDhttpFailedException.php
MDmainEntityNotExistentException.php
MDpageParameterNotFromListException.php
page
updates
.gitattributes
MDErrorReporter.php
README.md
20 lines
431 B
PHP
20 lines
431 B
PHP
<?PHP
|
|
declare(strict_types = 1);
|
|
|
|
/**
|
|
* Custom exception class for invalid page parameters, which must be values of a
|
|
* preset list of allowed values.
|
|
*/
|
|
final class MDmainEntityNotExistentException extends Exception {
|
|
/**
|
|
* Error message.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function errorMessage() {
|
|
//error message
|
|
return 'Could not connect to databse. Please try again later.';
|
|
|
|
}
|
|
}
|