commonMain.target.core.valuefailure.StringLengthRangeFailure.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of target-core-jvm Show documentation
Show all versions of target-core-jvm Show documentation
Functional domain modeling in Kotlin
package target.core.valuefailure
import target.core.ValueFailure
data class StringLengthRangeFailure(
override val failedValue: String,
val minLength: Int,
val maxLength: Int,
) : ValueFailure