@@ -87,6 +87,9 @@ |
||
87 | 87 | throw $this->exception; |
88 | 88 | } |
89 | 89 | |
90 | + /** |
|
91 | + * @param string $exception |
|
92 | + */ |
|
90 | 93 | private function isNotAValidThrowable($exception) |
91 | 94 | { |
92 | 95 | return 'Exception' !== ltrim($exception, '\\') && !is_subclass_of($exception, 'Exception') && !is_subclass_of($exception, 'Throwable'); |