provideBrowserGlobalErrorListeners
function
Provides an environment initializer which forwards unhandled errors to the ErrorHandler.
provideBrowserGlobalErrorListeners
Provides an environment initializer which forwards unhandled errors to the ErrorHandler.
The listeners added are for the window's 'unhandledrejection' and 'error' events.
@returns
EnvironmentProviders
Description
Provides an environment initializer which forwards unhandled errors to the ErrorHandler.
The listeners added are for the window's 'unhandledrejection' and 'error' events.
Jump to details