object ValidationError
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ValidationError
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class Equal(compared: String) extends ValidationError with Product with Serializable
- case class Greater(compared: String) extends ValidationError with Product with Serializable
- case class GreaterEqual(compared: String) extends ValidationError with Product with Serializable
- case class Less(compared: String) extends ValidationError with Product with Serializable
- case class LessEqual(compared: String) extends ValidationError with Product with Serializable
- case class MaxSize(size: Int) extends ValidationError with Product with Serializable
-
case class
Message(error: String, message: Option[String] = None) extends ValidationError with Product with Serializable
If you dont need to match on errors and just want to have separate error and user message, use this rather than ValidationError
- case class MinSize(size: Int) extends ValidationError with Product with Serializable
- case class NotEqual(compared: String) extends ValidationError with Product with Serializable
- case class OneOf(variants: Seq[String]) extends ValidationError with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- implicit object CanFailValidationError extends CanFail[ValidationError]
- object Empty extends ValidationError with Product with Serializable
- object Equal extends Serializable
- object Greater extends Serializable
- object GreaterEqual extends Serializable
- object Invalid extends ValidationError with Product with Serializable
- object Less extends Serializable
- object LessEqual extends Serializable
- object MaxSize extends Serializable
- object Message extends Serializable
- object MinSize extends Serializable
- object NonEmpty extends ValidationError with Product with Serializable
- object NotEqual extends Serializable
- object OneOf extends Serializable