provideBrowserGlobalErrorListeners
function
stable
Provides an environment initializer which forwards unhandled errors to the ErrorHandler.
@returns
EnvironmentProvidersDescription
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