ValidationResult

sealed class ValidationResult

A result object for input validation.

Inheritors

Types

Link copied to clipboard
class Invalid(errorMessage: String) : ValidationResult

Input is not valid.

Link copied to clipboard

Input is valid.