ZenMutationRetryPredicate typedef
Predicate determining whether a replay error is transient/retryable.
Return false for permanent errors (e.g. 400/404/422 validation errors)
so the job moves immediately to the dead-letter queue instead of blocking
subsequent FIFO jobs.
Implementation
typedef ZenMutationRetryPredicate = bool Function(Object error);