ValidationResult

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

Data class representing the result of a validation process.

Parameters

successful

Indicates whether the validation was successful (true) or not (false).

errorMessage

A message describing the reason for validation failure, empty if successful.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard