Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ErrorHandler

Index

Constructors

constructor

Properties

Protected _concreteErrorHandler

_concreteErrorHandler: ConcreteErrorHandlerInterface

Holds the reference to the concrete error handler that differs between spa and hybrid apps.

Protected _config

The error handling configuration

Protected _handlingErrors

_handlingErrors: Promise<any>[]

The list of promises that are currently handled

Protected _lastError

_lastError: AppError

Holds the last error that occurred

Protected _navigationStack

_navigationStack: string[]

Contains the navigation stack that holds the last 5 served urls

Accessors

lastError

navigationStack

  • get navigationStack(): string[]

Methods

emitError

  • emitError(error: AppError): Promise<void>

getContentElementErrorHandler

makeContentElementError

Protected makeError

makeGlobalError

  • makeGlobalError(reason: any, code?: number): AppError

makeNetworkError

  • makeNetworkError(reason: any, code?: number): AppError

Protected printMessageToConsole

  • printMessageToConsole(error: AppError): void

pushNavigationStack

setConcreteErrorHandler

waitForAllPromises

  • waitForAllPromises(): Promise<void>

Generated using TypeDoc