MDErrorReporter/exceptions/updates/MDImporterWritingIsDisabled.php

19 lines
365 B
PHP

<?PHP
declare(strict_types = 1);
/**
* Exception thrown when trying to use the importer's write() methods during dry run.
*/
final class MDImporterWritingIsDisabled extends Exception {
/**
* Error message.
*
* @return string
*/
public function errorMessage() {
//error message
return 'Inputs are not valid.';
}
}