Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IErrorHandlingService

The IErrorHandlingService interface represents a service that can be invoked when an error - usually an exception - is encountered but cannot be handled locally. A component that implements this service would normally remember the error and request to update itself, so that in its render method it will present the error to the user.

The IErrorHandlingService is implemented by the Root Virtual Node as a last resort for error handling. The Root VN will display a simple UI showing the error and will allow the user to restart - in the hope that the error will not repeat itself.

Hierarchy

  • IErrorHandlingService

Index

Methods

Methods

reportError

  • reportError(err: any): void
  • Parameters

    • err: any

    Returns void

Generated using TypeDoc