1 | <?php |
||
9 | class ListenerException extends ModelException |
||
10 | { |
||
11 | /** @var array */ |
||
12 | private $context; |
||
13 | |||
14 | /** |
||
15 | * @param string $message the error message to be provided to the model |
||
16 | * @param array $context the context for the model error message |
||
17 | */ |
||
18 | public function __construct(string $message, array $context = []) |
||
23 | |||
24 | public function getContext(): array |
||
28 | } |
||
29 |