Told of each failure that kept a snapshot (logging, tests).
final void Function(String instanceId, Object error)? onError;