Record and replay error first callbacks in a deterministic order.
Deterministic recording and replaying of error first callbacks.