19 lines
395 B
PHP
19 lines
395 B
PHP
<?PHP
|
|
declare(strict_types = 1);
|
|
|
|
/**
|
|
* Custom exception class for presenting that a functionality is currently unavailable.
|
|
*/
|
|
final class MDTemporarilyUnavailableException extends Exception {
|
|
/**
|
|
* Error message.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function errorMessage() {
|
|
//error message
|
|
return 'This functionality is currently unavailable';
|
|
|
|
}
|
|
}
|