Exceptions¶
All exceptions inherit from SchemaShiftError.
- exception schemashift.SchemaShiftError[source]¶
Bases:
ExceptionBase exception for all schemashift errors.
- exception schemashift.ConfigValidationError[source]¶
Bases:
SchemaShiftErrorRaised when a config file or model fails validation.
- exception schemashift.DSLSyntaxError(message, expression='', position=-1)[source]¶
Bases:
SchemaShiftErrorRaised when a DSL expression cannot be parsed.
- exception schemashift.DSLRuntimeError(message, expression='', target='')[source]¶
Bases:
SchemaShiftErrorRaised when a valid DSL expression fails at evaluation time.
- exception schemashift.FormatDetectionError[source]¶
Bases:
SchemaShiftErrorRaised when automatic format detection fails.
- exception schemashift.AmbiguousFormatError(message, candidates=None)[source]¶
Bases:
FormatDetectionErrorRaised when multiple formats match with equal confidence.
- exception schemashift.SchemaValidationError[source]¶
Bases:
SchemaShiftErrorRaised when a DataFrame does not conform to a TargetSchema.
- exception schemashift.UnsupportedFileError[source]¶
Bases:
SchemaShiftErrorRaised when a file extension is not supported by any reader.
- exception schemashift.LLMGenerationError(message, attempts=None)[source]¶
Bases:
SchemaShiftErrorRaised when LLM-assisted config generation fails.
- exception schemashift.ReaderError[source]¶
Bases:
SchemaShiftErrorRaised when reading a file fails at the I/O or parsing level.