Class CtanRequestError

This exception is thrown when a request fails.

Hierarchy

Constructors

Properties

cause?: Error
message: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Accessors

  • get [toStringTag](): "CtanRequestError"
  • Returns "CtanRequestError"

  • get name(): "CtanRequestError"
  • Returns "CtanRequestError"

  • get request(): Request
  • node-fetch's request object.

    Returns Request

Methods

  • Parameters

    • this: void

    Returns object

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc