Skip to content

batchEventErrorSchema

const batchEventErrorSchema: ZodObject<{ message: ZodOptional<ZodString>; }, $strip>

Defined in: packages/contracts/src/events.ts:112

The body of a non-2xx batch-event response. Unlike the mutation path there is NO per-item rejection field: a well-formed envelope always gets a per-event verdict in a 2xx acks array, so a non-2xx is always a whole-batch fault (framing, limits, auth, queue unavailable) with nothing to attribute. Unknown extra fields are stripped.