EvanExceptionHandler

Source exception-handler

Global angular exception handler to prevent uncatched global errors. Will be registered by the AngularCore module and must not be manually used.


handleError

exceptionHandler.handleError(error);

Handles an Exception and logs it to the console.

Parameters

  1. error - Error: Incoming exception that should be parsed

Returns

Promise returns void: resolved when done

Example

// ...