PydanticUserError
An error raised due to incorrect use of Pydantic.
Constructor
Signature
def PydanticUserError()
Signature
def PydanticUserError(
message: string,
code: PydanticErrorCodes
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| message | string | The detailed error message explaining the incorrect usage of the Pydantic library. |
| code | PydanticErrorCodes | A specific error code used to map the exception to a detailed explanation in the Pydantic documentation. |