vot.js - v2.4.12
    Preparing search index...

    Class VOTJSError

    Hierarchy

    • Error
      • VOTJSError
    Index

    Constructors

    Properties

    cause?: unknown

    The cause of the error.

    data: unknown = undefined
    message: string
    name: string
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    The maximum number of stack frames to capture.

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Check if a value is an instance of Error

      Parameters

      • value: unknown

        The value to check

      Returns value is Error

      True if the value is an instance of Error, false otherwise