$exceptionHandler (service in module ngMock )

Description

Mock implementation of ng.$exceptionHandler that rethrows or logs errors passed into it. See $exceptionHandlerProvider for configuration information.