__construct()
__construct(\Exception $exception) : void
Simply rethrow the given exception
Parameters
\Exception | $exception | Exception. |
Throws
- \Exception
$exception Rethrows the passed exception.
Test Exception Renderer.
Use this class if you want to re-throw exceptions that would otherwise be caught by the ErrorHandlerMiddleware. This is useful while debugging or writing integration test cases.