KSLRuntime Error
Typed representation of errors that can occur during a simulation run.
Runner translates caught exceptions into one of these variants and emits RunEvent.RunFailed so that a GUI or downstream consumer can respond to the specific failure kind without inspecting raw exception types.
Inheritors
Types
The run could not proceed due to an invalid or inconsistent configuration. Used by Phase 3 pre-flight validation and future RunConfiguration-backed runner entry points.
An unexpected exception was thrown during replication execution.
Failure while loading or building a model from an external JAR.
Failure during model construction or initial setup — before any replications execute. Primarily used in Phase 3+ when Runner builds the model from a RunConfiguration; in Phase 1 the caller provides a pre-built model, so this is unlikely but kept for completeness.