ErrorHandler

Stable

Class

What it does

Provides a hook for centralized exception handling.

Class Overview

class ErrorHandler {
constructor(/**
     * @deprecated since v4.0 parameter no longer has an effect, as ErrorHandler will never
     * rethrow.
     */
    deprecatedParameter?: boolean)

handleError(error: any) : void

}

Class Description

Constructor

constructor(/**
       * @deprecated since v4.0 parameter no longer has an effect, as ErrorHandler will never
       * rethrow.
       */
      deprecatedParameter?: boolean)

Class Details

exported from core/index, defined in core/src/error_handler.ts