ValidationError
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| line_errors | list[[PyLineError](pylineerror.md?sid=errors_validation_exception_pylineerror)] | A collection of specific error details for each validation failure encountered during processing. |
| title | `str | Any` |
| input_type | [InputType](../../../input/input/abstract/inputtype.md?sid=input_input_abstract_inputtype) | The category of input data being validated, such as python objects or JSON strings, which determines error formatting. |
| hide_input | bool | A flag that determines whether the original input values should be excluded from the error message for privacy or brevity. |
Constructor
Signature
def ValidationError(
line_errors: List[[PyLineError](pylineerror.md?sid=errors_validation_exception_pylineerror)],
title: Any,
input_type: [InputType](../../../input/input/abstract/inputtype.md?sid=input_input_abstract_inputtype),
hide_input: bool
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| line_errors | List[[PyLineError](pylineerror.md?sid=errors_validation_exception_pylineerror)] | A list of specific line errors encountered during validation. |
| title | Any | The title for the validation error. |
| input_type | [InputType](../../../input/input/abstract/inputtype.md?sid=input_input_abstract_inputtype) | The type of input that failed validation. |
| hide_input | bool | Whether to hide the input value in the error output. |
Signature
def ValidationError(
line_errors: list[[PyLineError](pylineerror.md?sid=errors_validation_exception_pylineerror)],
title: Any,
input_type: [InputType](../../../input/input/abstract/inputtype.md?sid=input_input_abstract_inputtype),
hide_input: bool
) - > None
Parameters
| Name | Type | Description |
|---|---|---|
| line_errors | list[[PyLineError](pylineerror.md?sid=errors_validation_exception_pylineerror)] | A collection of specific error details for each field or location that failed validation. |
| title | Any | The title or name of the model or validator that triggered the error. |
| input_type | [InputType](../../../input/input/abstract/inputtype.md?sid=input_input_abstract_inputtype) | The format of the input data being validated, such as python or json. |
| hide_input | bool | A flag indicating whether the original input data should be excluded from the error report for privacy or security. |