ba.sake.validson

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Validator.type
case class Rule[T](predicate: T => Boolean, msg: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ValidationError(path: String, msg: String, value: Any)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class ValidationException(val errors: Seq[ValidationError]) extends Exception

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
trait Validator[T]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Validator extends LowPriValidators

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Validator.type

Extensions

Extensions

extension [T](value: T)(using validator: Validator[T])