2023-11-21 01:44:19 +01:00
|
|
|
<?PHP
|
|
|
|
declare(strict_types = 1);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Exception to be thrown
|
|
|
|
*/
|
2023-11-21 19:31:28 +01:00
|
|
|
final class MDMailerEncryptionFailedException extends Exception {
|
2023-11-21 01:44:19 +01:00
|
|
|
/**
|
|
|
|
* Error message.
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function errorMessage() {
|
|
|
|
//error message
|
|
|
|
return 'GPG encryption failed';
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|