ValidationResult

sealed class ValidationResult

A result of validation.

Inheritors

Types

Link copied to clipboard
class Invalid(val reasons: List<String>) : ValidationResult

An unsuccessful result of validation. All errors are stored in the reasons list.

Link copied to clipboard
data object Valid : ValidationResult

A successful result of validation.