Class Exception

Base class for exceptions thrown by this library

Hierarchy

Constructors

  • Parameters

    • Optional message: string
    • Optional opts: ErrorOptions

    Returns Exception

Properties

canceled?: boolean

Is it triggered by context default cancellation

cause?: unknown
ec?: number

error code

message: string
name: string
stack?: string
temporary?: boolean

If true, this is a temporary error and the operation can be retried later

timeout?: boolean

If true, the error is caused by exceeding the time limit

Generated using TypeDoc