class Athena::Validator::Spec::FailingConstraint
inherits Athena::Validator::Constraint
#
A constraint that always adds a violation.
Constructors#
.new(message : String = "Failed", groups : Array(String) | String | Nil = nil, payload : Hash(String, String) | Nil = nil)
#
Methods#
#validated_by : AVD::ConstraintValidator.class
#
Returns the AVD::ConstraintValidator.class
that should handle validating self
.