Skip to content

ValidationExceptionField

Source code in docs_src/capo_partnercentral_benefits/types/validation_exception_field.py
class ValidationExceptionField(TypedDict, closed=True):
    name: "str"
    """<p>The name of the field that failed validation.</p>"""
    message: "str"
    """<p>A detailed message explaining why the field validation failed.</p>"""
    code: NotRequired[
        "capo_partnercentral_benefits.types.validation_exception_error_code.ValidationExceptionErrorCode"
    ]
    """<p>An error code explaining why the field validation failed.</p>"""

code instance-attribute

code: NotRequired[ValidationExceptionErrorCode]

An error code explaining why the field validation failed.

message instance-attribute

message: str

A detailed message explaining why the field validation failed.

name instance-attribute

name: str

The name of the field that failed validation.