Skip to content

Variable: OpenAIErrorResponseSchema

const OpenAIErrorResponseSchema: ZodObject<{ error: ZodObject<{ code: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber, ZodNull]>>; message: ZodString; type: ZodString; }, $strip>; }, $strip>

OpenAI-compatible error response.