-
Notifications
You must be signed in to change notification settings - Fork 55
Error Management
Selvam Palanimalai edited this page May 9, 2013
·
1 revision
AngularJS has an built-in error handler service called as the $exceptionHandler. The default implementation simply delegates to $log.error which logs it into the browser console. It is possible to just override this service with custom definition of the $exceptionHandler.
We plan to use the $q service to introduce asynchronous error handling to manage recovery steps in case of an error. If the user needs to be notified of the error, then the error message shall be passed to the frontend through the ErrorMngr module.