ngMock
Configures the mock implementation of $exceptionHandler to rethrow or to log errors passed into the $exceptionHandler.
$exceptionHandler