io.github.srs.model.validation

Members list

Type members

Classlikes

ADT collecting validation failures that are meaningful in the domain.

ADT collecting validation failures that are meaningful in the domain.

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DomainError

Companion object for DomainError that provides an extension method to get a human-readable error message.

Companion object for DomainError that provides an extension method to get a human-readable error message.

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object Validation

Companion object for Validation that provides utility methods for common validations.

Companion object for Validation that provides utility methods for common validations.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Validation.type

Types

type Validation[+A] = Either[DomainError, A]

Type alias for domain‑level validations: Right = valid, Left = error.

Type alias for domain‑level validations: Right = valid, Left = error.

Attributes