Enum sim::utils::errors::SimulationError [−][src]
pub enum SimulationError {}Show 22 variants
InvalidModelConfiguration, ModelNotFound, PortNotFound, ModelCloneError, InvalidModelState, EventSchedulingError, InvalidMessage, SerializationError, EmptyPolynomial, PrerequisiteCalcError, FloatConvError, JSONError(Error), BetaError(BetaError), ExpError(ExpError), GammaError(GammaError), NormalError(NormalError), TriangularError(TriangularError), WeibullError(WeibullError), BernoulliError(BernoulliError), GeoError(GeoError), PoissonError(PoissonError), WeightedError(WeightedError),
Expand description
SimulationError
enumerates all possible errors returned by sim
Variants
Represents an invalid model configuration encountered during simulation
Represents an operation requested on a model that does not exist
Represents an operation requested on a model port that does not exist
Represents a failed clone operation on a model
Represents an invalid model state
Represents an invalid state of event scheduling
Represents an invalid inter-model message encountered
Represents a failed serialization operation
Represents an empty polynomial configuration used in a simulation
Represents an internal logic error, where prerequisite calculations were not executed
Represents a failed conversion to num-traits Float
JSONError(Error)
Transparent serde_json errors
BetaError(BetaError)
Transparent Beta distribution errors
ExpError(ExpError)
Transparent Exponential distribution errors
GammaError(GammaError)
Transparent Gamma distribution errors
NormalError(NormalError)
Transparent Normal distribution errors
TriangularError(TriangularError)
Transparent Triangular distribution errors
WeibullError(WeibullError)
Transparent Weibull distribution errors
BernoulliError(BernoulliError)
Transparent Bernoulli distribution errors
GeoError(GeoError)
Transparent Geometric distribution errors
PoissonError(PoissonError)
Transparent Poisson distribution errors
WeightedError(WeightedError)
Transparent Weighted Index distribution errors
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for SimulationError
impl Send for SimulationError
impl Sync for SimulationError
impl Unpin for SimulationError
impl !UnwindSafe for SimulationError