Skip to main content

PydanticUserError

An error raised due to incorrect use of Pydantic.

Constructor

Signature

def PydanticUserError()

Signature

def PydanticUserError(
message: string,
code: PydanticErrorCodes
) - > null

Parameters

NameTypeDescription
messagestringThe detailed error message explaining the incorrect usage of the Pydantic library.
codePydanticErrorCodesA specific error code used to map the exception to a detailed explanation in the Pydantic documentation.