\Cake\TestSuite\StubTestExceptionRenderer

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.

Summary

Methods
Properties
Constants
__construct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\Exception  $exception) : void

Simply rethrow the given exception

Parameters

\Exception $exception

Exception.

Throws

\Exception

$exception Rethrows the passed exception.