Nazarii Plebanskyi

Results 1 comments of Nazarii Plebanskyi

As a workaround for your custom validations you can use `PydanticCustomError` from `pydantic_core`. ``` from pydantic_core import PydanticCustomError def custom_validator(value: str) -> str: if value == "bad": raise PydanticCustomError("bad_str", "bad...