• Genel Bakış
@angular/core

provideBrowserGlobalErrorListeners

function
kararlı

Provides an environment initializer which forwards unhandled errors to the ErrorHandler.

API

Description

Provides an environment initializer which forwards unhandled errors to the ErrorHandler.

The listeners added are for the window's 'unhandledrejection' and 'error' events.

Detaylara atla