Skip to content

ValidationError

Source code in docs_src/capo_observabilityadmin/types/validation_error.py
class ValidationError(TypedDict, closed=True):
    message: NotRequired["str"]
    """<p>The error message describing the validation issue.</p>"""
    reason: NotRequired["str"]
    """<p>The reason code or category for the validation error.</p>"""
    field_map: NotRequired["capo_observabilityadmin.types.field_map.FieldMap"]
    """<p>A mapping of field names to specific validation issues within the configuration.</p>"""

field_map instance-attribute

field_map: NotRequired[FieldMap]

A mapping of field names to specific validation issues within the configuration.

message instance-attribute

message: NotRequired[str]

The error message describing the validation issue.

reason instance-attribute

reason: NotRequired[str]

The reason code or category for the validation error.