1 | <?php |
||
7 | abstract class Component { |
||
8 | |||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $dontHandle = []; |
||
13 | |||
14 | /** |
||
15 | * @var array |
||
16 | */ |
||
17 | private $absolutelyDontHandle = [ |
||
18 | \Tylercd100\LERN\Exceptions\RecorderFailedException::class, |
||
19 | \Tylercd100\LERN\Exceptions\NotifierFailedException::class, |
||
20 | ]; |
||
21 | |||
22 | /** |
||
23 | * Determine if the exception is in the "do not handle" list. |
||
24 | * |
||
25 | * @param \Exception $e |
||
26 | * @return bool |
||
27 | */ |
||
28 | 21 | protected function shouldntHandle(Exception $e){ |
|
39 | } |