@douglasneuroinformatics/libjs
    Preparing search index...

    Class BaseException<TParams, TOptions>Abstract

    Type Parameters

    Hierarchy

    • Error
      • BaseException

    Implements

    Index

    Constructors

    Properties

    cause: TOptions["cause"]
    details: TOptions["details"]
    message: string
    name: TParams["name"]
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Indicates whether the argument provided is a built-in Error instance or not.

      Parameters

      • error: unknown

      Returns error is Error