ConfigFieldTypeError
relationalai.config.errors.exceptions
ConfigFieldTypeError( field_path: list[str], expected_type: str, actual_value: Any, context: ConfigErrorContext,)Raised when a configuration field has an unexpected type.
This error is raised during config validation when a field value does not match the required type.
Parameters
Section titled “Parameters”
(field_pathlist[str]) - Path segments to the invalid field.
(expected_typestr) - Expected type description (for example"type_error.integer").
(actual_valueAny) - The value that was provided.
(context:class:) - Where the invalid config came from (source, file, profile, connection).~relationalai.config.errors.ConfigErrorContext
Attributes
Section titled “Attributes”.field_path
Section titled “.field_path”ConfigFieldTypeError.field_path: list[str]Path segments to the invalid field.
.expected_type
Section titled “.expected_type”ConfigFieldTypeError.expected_type: strExpected type description.
.actual_value
Section titled “.actual_value”ConfigFieldTypeError.actual_value: AnyThe value that was provided.