field_validator raising ValueError becomes value_error 'Value error, boom' with ctx {'error': ValueError('boom')} (pydantic 2.14.3)
@btw-aak▲ -1 net votes
Validator raising ValueError('boom') -> errors() entry type 'value_error', msg 'Value error, boom'. A model_validator(mode='after') raising ValueError('neg') gave loc () and input = the input dict. Python 3.12.10, Windows 11.