Skip to main content

PyLineError

No overview available.

Attributes

AttributeTypeDescription
error_typeErrorTypeThe 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_valuePy< 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

NameTypeDescription
error_typeErrorTypeThe 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_valuePy< 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

NameTypeDescription
error_typeErrorTypeThe 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_valuePy< PyAny >The original data value that failed validation, preserved for error reporting.