Currently when using ow.any if all of the predicates fail we get 1 giant string of all of the errors that the predicates threw. It would be nice if the ArgumentError could have an array of all of the errors that get thrown but without the Any predicate failed with the following errors: string appended to it. I see that ArgumentError does have a validationErrors property but those errors have the aforementioned string appended to it. I'd like just the raw predicate errors in the order that they were thrown.
Currently when using
ow.any
if all of the predicates fail we get 1 giant string of all of the errors that the predicates threw. It would be nice if theArgumentError
could have an array of all of the errors that get thrown but without theAny predicate failed with the following errors:
string appended to it. I see thatArgumentError
does have avalidationErrors
property but those errors have the aforementioned string appended to it. I'd like just the raw predicate errors in the order that they were thrown.