19 lines
331 B
PHP
19 lines
331 B
PHP
|
<?PHP
|
||
|
declare(strict_types = 1);
|
||
|
|
||
|
/**
|
||
|
* Reports a failure to create a new directory.
|
||
|
*/
|
||
|
final class MDFailedToCreateDirectory extends Exception {
|
||
|
/**
|
||
|
* Error message.
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public function errorMessage() {
|
||
|
//error message
|
||
|
return 'Failed to encode JSON data.';
|
||
|
|
||
|
}
|
||
|
}
|