ValidationFailure

data class ValidationFailure<T>(val currentState: T, val validationResult: ValidationResult) : StateUpdateResult<T>

Indicates that the state update failed due to validation errors.

Parameters

currentState

The state before the failed update attempt

validationResult

The validation result containing error details

Constructors

Link copied to clipboard
constructor(currentState: T, validationResult: ValidationResult)

Properties

Link copied to clipboard
Link copied to clipboard