@ladesa-ro/api-client-fetch - v1.0.0-next.35
    Preparing search index...

    Class CancelError

    Hierarchy

    Index

    Constructors

    • Parameters

      • message: string

      Returns CancelError

    Properties

    cause?: unknown

    The cause of the error.

    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.

    Accessors

    • get isCancelled(): boolean

      Returns boolean

    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