StateHalt
data class StateHalt(val exception: ResolutionException, val context: ClassicExecutionContext) : AbstractEndState, ExceptionalState
"Halt": the one true sink of the state machine, reached only via an uncaught exception (no catch/3 matched it all the way up to the root context, or a timeout occurred). Unlike StateEnd, there is no transition back out of it -- resolution truly stops here, with Solution.halt wrapping exception.
Properties
Link copied to clipboard
The execution context this state operates on.
Link copied to clipboard
The exception that led to this state.
Link copied to clipboard
Whether asking for another solution after this one would resume resolution (via backtracking) rather than truly stop.
Link copied to clipboard
Whether this state is a terminal one for the current resolution step, i.e. an EndState.
Functions
Link copied to clipboard
This state as an EndState, or null if isEndState is false.
Link copied to clipboard
This state as an EndState.