Enum sim::utils::errors::SimulationError
source · pub enum SimulationError {
Show 23 variants
InvalidModelConfiguration,
ModelNotFound,
PortNotFound,
ModelCloneError,
InvalidModelState,
EventSchedulingError,
InvalidMessage,
SerializationError,
EmptyPolynomial,
PrerequisiteCalcError,
FloatConvError,
DroppedMessageError,
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§
InvalidModelConfiguration
Represents an invalid model configuration encountered during simulation
ModelNotFound
Represents an operation requested on a model that does not exist
PortNotFound
Represents an operation requested on a model port that does not exist
ModelCloneError
Represents a failed clone operation on a model
InvalidModelState
Represents an invalid model state
EventSchedulingError
Represents an invalid state of event scheduling
InvalidMessage
Represents an invalid inter-model message encountered
SerializationError
Represents a failed serialization operation
EmptyPolynomial
Represents an empty polynomial configuration used in a simulation
PrerequisiteCalcError
Represents an internal logic error, where prerequisite calculations were not executed
FloatConvError
Represents a failed conversion to num-traits Float
DroppedMessageError
Represents a message unexpectedly lost/dropped/stuck during simulation execution
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