PyLineError
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| error_type | ErrorType | The specific category or classification of the validation error encountered. |
| location | [Location](../../location/location.md?sid=errors_location_location) | The position within the input data where the error occurred, typically represented as a path of keys or indices. |
| input_value | Py< PyAny > | The original Python object that failed validation at the specified location. |
Constructor
Signature
def PyLineError(
error_type: ErrorType,
location: [Location](../../location/location.md?sid=errors_location_location),
input_value: Py< PyAny >
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| error_type | ErrorType | The type of error that occurred. |
| location | [Location](../../location/location.md?sid=errors_location_location) | The location in the input where the error was detected. |
| input_value | Py< PyAny > | The actual input value that caused the error. |
Signature
def PyLineError(
error_type: ErrorType,
location: [Location](../../location/location.md?sid=errors_location_location),
input_value: Py< PyAny >
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| error_type | ErrorType | The specific category or type of validation error encountered. |
| location | [Location](../../location/location.md?sid=errors_location_location) | The position within the input data (e.g., field name or index) where the error occurred. |
| input_value | Py< PyAny > | The original data value that failed validation, preserved for error reporting. |