Skip to main content

Class: NexatronError

Defined in: sdk/src/client.ts:18

Error thrown by the Nexatron SDK. Carries the underlying HTTP status when available.

Extends​

  • Error

Constructors​

Constructor​

new NexatronError(message, options?): NexatronError

Defined in: sdk/src/client.ts:23

Parameters​

message​

string

options?​
cause?​

unknown

retryable?​

boolean

status?​

number

Returns​

NexatronError

Overrides​

Error.constructor

Properties​

cause?​

readonly optional cause?: unknown

Defined in: sdk/src/client.ts:21


message​

message: string

Defined in: docs-site/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from​

Error.message


name​

name: string

Defined in: docs-site/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from​

Error.name


retryable​

readonly retryable: boolean

Defined in: sdk/src/client.ts:20


stack?​

optional stack?: string

Defined in: docs-site/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from​

Error.stack


status?​

readonly optional status?: number

Defined in: sdk/src/client.ts:19