Options
All
  • Public
  • Public/Protected
  • All
Menu

IdpcRequestFailedError

Captures API responses that return a 402 (Request Failed) response

Examples include:

  • Key balance depleted
  • Daily key limit reached

Hierarchy

Index

Constructors

constructor

Properties

__proto__

__proto__: Error

httpStatus

httpStatus: number

message

message: string

metadata

metadata: Metadata

name

name: string

response

response: HttpResponse

Raw HTTP response

Optional stack

stack: undefined | string