mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Refactor emails models objects, rework related tests
This commit is contained in:
15
common/emails/exceptions/CannotRenderEmailException.php
Normal file
15
common/emails/exceptions/CannotRenderEmailException.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace common\emails\exceptions;
|
||||
|
||||
use Exception;
|
||||
use Throwable;
|
||||
|
||||
class CannotRenderEmailException extends Exception {
|
||||
|
||||
public function __construct(Throwable $previous = null) {
|
||||
parent::__construct('Unable to render a template', 0, $previous);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user