Skip to content

ErrorHandler docs don't have standalone alternative #55579

@mgechev

Description

@mgechev

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 },
  ],
};

Metadata

Metadata

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: docsRelated to the documentationstate: has PR

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions