-
-
Notifications
You must be signed in to change notification settings - Fork 601
Closed
Labels
EnhancementSome new desired functionalitySome new desired functionality
Description
Given an iterable of errors, can we define a useful best_match function that returns the best match of the given errors (i.e. the error that seems to most reasonably represent the validation failure?)
Rough idea:
- Weigh how deep
pathandschema_pathgo into the instance / schema. - Use
__lt__on_Error( 🎀 ) and return max(errors). Why? Because we can.
Metadata
Metadata
Assignees
Labels
EnhancementSome new desired functionalitySome new desired functionality