Skip to main content

Class: TanqoryIdempotencyError

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:200

Idempotency Error - Idempotent request conflict (when same idempotency key is reused)

Extends​

Constructors​

Constructor​

new TanqoryIdempotencyError(message?, options?): TanqoryIdempotencyError

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:201

Parameters​

message?​

string = 'Idempotency key conflict'

options?​

TanqoryErrorOptions = {}

Returns​

TanqoryIdempotencyError

Overrides​

TanqoryConflictError.constructor

Properties​

cause?​

optional cause?: unknown

Defined in: tanqory-platform-docs/node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:24

Inherited from​

TanqoryConflictError.cause


code?​

readonly optional code?: string

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:24

Inherited from​

TanqoryConflictError.code


details?​

readonly optional details?: Record<string, unknown>

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:27

Inherited from​

TanqoryConflictError.details


headers?​

readonly optional headers?: Record<string, string>

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:30

Inherited from​

TanqoryConflictError.headers


message​

message: string

Defined in: tanqory-platform-docs/node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1075

Inherited from​

TanqoryConflictError.message


name​

name: string

Defined in: tanqory-platform-docs/node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1074

Inherited from​

TanqoryConflictError.name


param?​

readonly optional param?: string

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:26

Inherited from​

TanqoryConflictError.param


requestId?​

readonly optional requestId?: string

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:28

Inherited from​

TanqoryConflictError.requestId


retryAfter?​

readonly optional retryAfter?: number

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:29

Inherited from​

TanqoryConflictError.retryAfter


stack?​

optional stack?: string

Defined in: tanqory-platform-docs/node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from​

TanqoryConflictError.stack


statusCode?​

readonly optional statusCode?: number

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:23

Inherited from​

TanqoryConflictError.statusCode


timestamp​

readonly timestamp: Date

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:31

Inherited from​

TanqoryConflictError.timestamp


type?​

readonly optional type?: string

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:25

Inherited from​

TanqoryConflictError.type

Methods​

toJSON()​

toJSON(): object

Defined in: tanqory-platform-packages/packages/api/sdk/src/core/errors.ts:52

Returns​

object

code​

code: string

details​

details: Record<string, unknown>

message​

message: string

name​

name: string

param​

param: string

requestId​

requestId: string

statusCode​

statusCode: number

timestamp​

timestamp: Date

type​

type: string

Inherited from​

TanqoryConflictError.toJSON