UpdateFailure

data class UpdateFailure<T>(val currentState: T, val exception: Throwable) : StateUpdateResult<T>

Indicates that the state update failed due to an exception during processing.

Parameters

currentState

The state before the failed update attempt

exception

The exception that caused the failure

Constructors

Link copied to clipboard
constructor(currentState: T, exception: Throwable)

Properties

Link copied to clipboard
Link copied to clipboard