Skip to main content

PydanticInvalidForJsonSchema

An error raised during failures to generate a JSON schema for some CoreSchema.

Attributes

AttributeTypeDescription
messagestrDescription of the error.

Constructor

Signature

def PydanticInvalidForJsonSchema(
message: str
) - > None

Parameters

NameTypeDescription
messagestrDescription of the error encountered during JSON schema generation.

Signature

def PydanticInvalidForJsonSchema(
message: str
) - > null

Parameters

NameTypeDescription
messagestrThe descriptive error message explaining why the CoreSchema could not be converted to a JSON schema