MDMailer/exceptions/MDMailerEncryptionFailedException.php

19 lines
311 B
PHP

<?PHP
declare(strict_types = 1);
/**
* Exception to be thrown
*/
final class MDMailerEncryptionFailedException extends Exception {
/**
* Error message.
*
* @return string
*/
public function errorMessage() {
//error message
return 'GPG encryption failed';
}
}