Exceptions¶
All three backends raise the same exception types, defined in
dfguard._base.exceptions.
- exception dfguard._base.exceptions.SchemaValidationError(errors, history)[source]¶
Raised when a DataFrame’s runtime schema does not match the declared schema.
Attributes¶
- errors:
Human-readable list of individual mismatches.
- history:
Full schema evolution history at the point of failure.
- exception dfguard._base.exceptions.TypeAnnotationError[source]¶
Raised when a schema annotation cannot be converted to the backend’s dtype.