Skip to content

@loktin/sdk / index / NetworkError

Class: NetworkError ​

Defined in: @loktin/sdk/dist/errors.d.ts:63

The RPC could not be reached, or answered with an RPC error.

Extends ​

Constructors ​

Constructor ​

new NetworkError(message, options?): NetworkError

Defined in: @loktin/sdk/dist/errors.d.ts:66

Parameters ​

message ​

string

options? ​

ErrorOptions

Returns ​

NetworkError

Overrides ​

LoktinError.constructor

Properties ​

cause? ​

optional cause?: unknown

Defined in: typescript/lib/lib.es2022.error.d.ts:24

Inherited from ​

LoktinError.cause


code ​

readonly code: "NETWORK"

Defined in: @loktin/sdk/dist/errors.d.ts:65

Overrides ​

LoktinError.code


message ​

message: string

Defined in: typescript/lib/lib.es5.d.ts:1075

Inherited from ​

LoktinError.message


name ​

readonly name: "NetworkError" = "NetworkError"

Defined in: @loktin/sdk/dist/errors.d.ts:64

Overrides ​

LoktinError.name


stack? ​

optional stack?: string

Defined in: typescript/lib/lib.es5.d.ts:1076

Inherited from ​

LoktinError.stack

Built on Stellar