Skip to content

classifyEventBatchFailure

classifyEventBatchFailure(httpStatus): "auth" | "retryable"

Defined in: packages/client/src/event-lane.ts:343

The lane has EXACTLY TWO retry classes, and this is the whole rule. Unlike the mutation path there is no third, terminal class: a structural 4xx (400/404/413) is unreachable through the library (appends are validated, envelopes are library-built), and quarantining events on one would discard data the server never rejected — which at-least-once forbids. So everything that is not auth is retryable.

number | null | undefined

"auth" | "retryable"