Skip to content

Variable: GatewayErrorResponseSchema

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

Error response emitted by any gateway compatibility surface.