Options
All
  • Public
  • Public/Protected
  • All
Menu

Main configuration object. Describes how to detect, translate and report errors.

Hierarchy

  • ErrorsConfig

Index

Properties

doNotSend?: string[]

The errors to be explicitly ignored and not reported.

errorsText: ErrorsText

A dictionary of human-readable errors, grouped locales. Locales are referred using the locale id, provided by LOCALE_ID injection token, according to the angular i18n If there is no human-readable error, error.toString() will be shown.

production: boolean

Errors are reported only in the production

A service which provides a function to send the error report to the backend. Must implement ErrorsReporter abstract class

A service used to handle unhandled errors. The only method of this service is called, when an error is thrown anywhere in an Angular app, and not caught by the app. You may want to use it to show an error overlay, asking user to reload the page. Useful when building a finance application, where errors cannot be tolerated.

Methods

  • errorResponseToAppendix(errorResponse: any): undefined | string
  • errorResponseToNormalizedError(errorResponse: any): string
  • isErrorResponse(error: any): boolean

Generated using TypeDoc