Skip to main content

Interface: AISecSDKExceptionMetadata

Defined in: src/errors.ts:22

Transport-level facts attached to HTTP and network failures.

Properties

failureKind?

optional failureKind?: "http" | "network";

Defined in: src/errors.ts:24

Whether the request received an HTTP response or failed at the network boundary.


statusCode?

optional statusCode?: number;

Defined in: src/errors.ts:26

HTTP response status, when a response was received.


retryAfterMs?

optional retryAfterMs?: number;

Defined in: src/errors.ts:28

Server-provided retry delay normalized to milliseconds.