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