stilt.exceptions.SimulationError#

exception stilt.exceptions.SimulationError(message, reason=None, log='')[source]#

A simulation failed while it ran.

The worker catches it, records it with the simulation (stilt.Simulation.failure), and goes on to the next one.

Parameters:
Variables:
  • reason (str or None) – The cause as a plain string (an enum member such as a FailureReason is stored by its value), or None when it has no short name.

  • log (str) – The model’s log, empty when it wrote none.