angular.module.ngMock.$exceptionHandler

Description

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