Skip to main content

Interface: AISecSDKExceptionMetadata

Defined in: src/errors.ts:31

Transport-level facts attached to HTTP and network failures.

Properties​

problem?​

optional problem?: AISecSDKProblemDetails;

Defined in: src/errors.ts:33

Sanitized problem diagnostics; unknown response text and extensions are withheld.


failureKind?​

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

Defined in: src/errors.ts:35

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


statusCode?​

optional statusCode?: number;

Defined in: src/errors.ts:37

HTTP response status, when a response was received.


retryAfterMs?​

optional retryAfterMs?: number;

Defined in: src/errors.ts:39

Server-provided retry delay normalized to milliseconds.