19 lines
387 B
PHP
19 lines
387 B
PHP
<?PHP
|
|
declare(strict_types = 1);
|
|
|
|
/**
|
|
* Custom exception class for missing page parameters.
|
|
*/
|
|
final class MDpageParameterMissingException extends Exception {
|
|
/**
|
|
* Error message.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function errorMessage() {
|
|
//error message
|
|
return 'Parameter: <b>' . $this->getMessage() . '</b> is required but missing.';
|
|
|
|
}
|
|
}
|