Skip to main content

Type Alias: AiError

AiError = object

Defined in: src/server/integrations/ai/anthropic.ts:71

Properties

code

code: "ai_request_failed" | "ai_unparseable"

Defined in: src/server/integrations/ai/anthropic.ts:72


message

message: string

Defined in: src/server/integrations/ai/anthropic.ts:73


status?

optional status?: number

Defined in: src/server/integrations/ai/anthropic.ts:75

HTTP status of the failed API call when the SDK surfaced one. Safe to log — no response body.