Skip to content

AiErrorSchema

katanakit-js / AiErrorSchema

const AiErrorSchema: ZodObject<
{
details: ZodOptional<ZodUnknown>;
message: ZodString;
status: ZodNumber;
},
$strip
>;

Defined in: schemas/core.schema.ts:186

Safe error returned on non-2xx or network failures (AI boundary).