ValidationResult

data class ValidationResult<T : Any>(val isValid: Boolean, val validationError: T? = null)(source)

Carries ValidationResult data through the SDAI validation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(isValid: Boolean, validationError: T? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Exposes the isValid value used by the SDAI validation layer.

Link copied to clipboard

Exposes the validationError value used by the SDAI validation layer.