angular.mock.service.$exceptionHandler

Work in Progress This page is currently being revised. It might be incomplete or contain inaccuracies.

Description

Mock implementation of angular.service.$exceptionHandler that rethrows any error passed into $exceptionHandler. If any errors are are passed into the handler in tests, it typically means that there is a bug in the application or test, so this mock will make these tests fail.

See angular.mock for more info on angular mocks.

Dependencies

Methods

Properties