Class ValidationRejection

java.lang.Object
akka.http.scaladsl.server.ValidationRejection
All Implemented Interfaces:
Rejection, ValidationRejection, Rejection, RejectionWithOptionalCause, Serializable, scala.Equals, scala.Product

public final class ValidationRejection extends Object implements ValidationRejection, RejectionWithOptionalCause, scala.Product, Serializable
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.
See Also: