-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: docsRelated to the documentationRelated to the documentationstate: has PR
Milestone
Description
Describe the problem that you experienced
We haven't added docs on how to use ErrorHandler without NgModules https://angular.dev/api/core/ErrorHandler?tab=usage-notes
Add documentation on how to use ErrorHandler without NgModules in the app config:
export const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
{ provide: ErrorHandler, useClass: GlobalHandler },
],
};Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: docsRelated to the documentationRelated to the documentationstate: has PR