Skip to main content

Class: TanqoryTimeoutError

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

Timeout Error - Request timeout

Extends​

Constructors​

Constructor​

new TanqoryTimeoutError(message?, timeout?, options?): TanqoryTimeoutError

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

Parameters​

message?​

string = 'Request timeout'

timeout?​

number = 30000

options?​

TanqoryErrorOptions = {}

Returns​

TanqoryTimeoutError

Overrides​

TanqoryNetworkError.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​

TanqoryNetworkError.cause


code?​

readonly optional code?: string

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

Inherited from​

TanqoryNetworkError.code


details?​

readonly optional details?: Record<string, unknown>

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

Inherited from​

TanqoryNetworkError.details


headers?​

readonly optional headers?: Record<string, string>

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

Inherited from​

TanqoryNetworkError.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​

TanqoryNetworkError.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​

TanqoryNetworkError.name


originalError?​

readonly optional originalError?: Error

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

Inherited from​

TanqoryNetworkError.originalError


param?​

readonly optional param?: string

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

Inherited from​

TanqoryNetworkError.param


requestId?​

readonly optional requestId?: string

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

Inherited from​

TanqoryNetworkError.requestId


retryAfter?​

readonly optional retryAfter?: number

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

Inherited from​

TanqoryNetworkError.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​

TanqoryNetworkError.stack


statusCode?​

readonly optional statusCode?: number

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

Inherited from​

TanqoryNetworkError.statusCode


timeout​

readonly timeout: number

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


timestamp​

readonly timestamp: Date

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

Inherited from​

TanqoryNetworkError.timestamp


type?​

readonly optional type?: string

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

Inherited from​

TanqoryNetworkError.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​

TanqoryNetworkError.toJSON