fn record_err<T: LazyBalanceMarker, M: ManualBalanceModel<T>>(
results: &mut BalanceModelResults<T, M>,
trace: &[BalanceOp<T, M>],
reason: String,
traps: Option<&String>,
)Expand description
Records a failed execution for the given trace.
Wraps the reason and trace into a BalanceFailure and stores it.
If traps are active, records it as a trapped failure.