ValidationResult

data class ValidationResult(val successful: Boolean, val errorMessage: String = "")

A data class representing the result of a validation process.

Constructors

Link copied to clipboard
constructor(successful: Boolean, errorMessage: String = "")

Properties

Link copied to clipboard

A descriptive error message in case the validation was not successful.

Link copied to clipboard

Indicates whether the validation was successful.