ValidationResult

sealed class ValidationResult<out S : Any>

Class representing a validation result which can be either success or failure.

Inheritors

Types

Link copied to clipboard

Class representing a failure validation result with an error indicating the cause of the failure.

Link copied to clipboard
class Success<T : Any>(val value: T) : ValidationResult<T>

Class representing a successful validation result which may contain a value.