InvalidStateForTransition

data class InvalidStateForTransition(transition: Transition<*, *, *>, val value: Value<*, *, *>) : Exception

Constructors

Link copied to clipboard
constructor(transition: Transition<*, *, *>, value: Value<*, *, *>)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val value: Value<*, *, *>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <ID, V : Value<ID, V, S>, S : State<ID, V, S>> getState(): S?

Get the state of the underlying value. This reflects the state that could not be transitioned successfully.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard