Validation

io.github.iltotore.iron.internal.Validation
enum Validation[L, R]

Attributes

Source
Validation.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Invalid[L, R](list: List[L])

Attributes

Source
Validation.scala
final case class Valid[L, R](value: R)

Attributes

Source
Validation.scala

Value members

Concrete methods

def accumulate[L2, R2](other: Validation[L2, R2]): Validation[L | L2, (R, R2)]
Extension method from io.github.iltotore.iron.internal

Attributes

Source
Validation.scala
def map[R2](f: R => R2): Validation[L, R2]
Extension method from io.github.iltotore.iron.internal

Attributes

Source
Validation.scala