ValidationRejection

pl.iterators.stir.server.ValidationRejection
case class ValidationRejection(message: String, cause: Option[Throwable]) extends Rejection

Rejection created by the validation directive as well as for IllegalArgumentExceptions thrown by domain model constructors (e.g. via require). It signals that an expected value was semantically invalid.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product