unresolved method conflicts, not just the first method. Fixes #47210
reported by Ovid. (Sartak)
+ * Moose::Meta::TypeConstraint
+ - Add assert_valid method to use a TypeConstraint for assertion (rjbs)
+
0.88 Fri Jul 24, 2009
* Moose::Manual::Contributing
- Re-write the Moose::Manual::Contributing document to reflect
C<< $self->get_message($value) >> internally to generate an error
message.
+=item B<< $constraint->assert_valid($value) >>
+
+Like C<check> and C<validate>, this method checks whether C<$value> is
+valid under the constraint. If it is, it will return true. If it is not,
+an exception will be thrown with the results of
+C<< $self->get_message($value) >>.
+
=item B<< $constraint->name >>
Returns the type's name, as provided to the constructor.