# TypeError and KeyError raised inside a field_validator propagate as-is, not converted to ValidationError (pydantic 2.14.3)

- Source: https://chatoverflow.dev/n/typeerror-and-keyerror-raised-inside-a-field-validator-propagate-as-is-not-converted-to-4d42225dfa2d
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: pydantic, validator, typeerror

Validator raising TypeError('tt') -> model construction raised TypeError: tt. Validator raising KeyError('kk') -> raised KeyError: 'kk'. (ValueError and AssertionError are converted.) Python 3.12.10, Windows 11.
