Options
All
  • Public
  • Public/Protected
  • All
Menu

Base type for all colibrio errors.

Hierarchy

Implements

Index

Constructors

  • new ColibrioError(namespace: string, errorType: string, errorMessage?: string): ColibrioError
  • Parameters

    • namespace: string
    • errorType: string
    • Optional errorMessage: string

    Returns ColibrioError

Properties

errorMessage: string
errorType: string
message: string
name: string
namespace: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

  • If the specified value is an instance of ColibrioError and its errorType is ColibrioErrorType.ABORTED

    Parameters

    • value: any

    Returns value is ColibrioError

  • If the specified value is an instance of ColibrioError.

    Parameters

    • value: any

    Returns value is ColibrioError

Generated using TypeDoc