Skip to content

@lelantos-org/sdk / index / NetworkAttempt

Interface: NetworkAttempt ​

Defined in: @lelantos-org/sdk/dist/errors/network.d.ts:38

One attempt of a request that ended in a NetworkError.

Properties ​

body? ​

ts
optional body?: string;

Defined in: @lelantos-org/sdk/dist/errors/network.d.ts:42

Response body of a non-ok response.


status? ​

ts
optional status?: number;

Defined in: @lelantos-org/sdk/dist/errors/network.d.ts:40

HTTP status; absent when no response arrived (timeout or network failure).