Invalid

data class Invalid(val messages: List<String>) : ValidationResult

Represents a failed validation result with one or more error messages.

Constructors

Link copied to clipboard
constructor(message: String)

Creates an Invalid result with a single error message.

constructor(messages: List<String>)

Properties

Link copied to clipboard

The list of validation error messages.