MDErrorReporter/exceptions/updates/MDImporterWritingIsDisabled.php

19 lines
365 B
PHP
Raw Permalink Normal View History

<?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.';
}
}