Exceptions#
All domain errors inherit from FeatherStoreException.
Category bases allow catching related errors together (for example,
ColumnError for any column-related failure).
Argument validation (invalid types, missing required arguments) still raises
built-in exceptions such as TypeError, ValueError, and
AttributeError.
Hierarchy#
Exception reference#
FeatherStore exception hierarchy.
See the API reference for the full hierarchy and per-class documentation.
- exception featherstore.exceptions.FeatherStoreException[source]#
Bases:
ExceptionBase class for all FeatherStore domain errors.
- exception featherstore.exceptions.TableError[source]#
Bases:
FeatherStoreExceptionBase class for table-related errors.
- exception featherstore.exceptions.TableNotFoundError[source]#
Bases:
TableErrorRaised when a requested table does not exist.
- exception featherstore.exceptions.TableAlreadyExistsError[source]#
Bases:
TableErrorRaised when creating or restoring a table that already exists.
- exception featherstore.exceptions.ForbiddenTableNameError[source]#
Bases:
TableErrorRaised when a table name is reserved.
- exception featherstore.exceptions.CannotDropAllRowsError[source]#
Bases:
TableErrorRaised when a drop operation would remove every row.
- exception featherstore.exceptions.CannotDropAllColumnsError[source]#
Bases:
TableErrorRaised when a drop operation would remove every column.
- exception featherstore.exceptions.PartitionCountMismatchError[source]#
Bases:
TableErrorRaised when partition count does not match partition names.
- exception featherstore.exceptions.StoreError[source]#
Bases:
FeatherStoreExceptionBase class for store-related errors.
- exception featherstore.exceptions.StoreNotFoundError[source]#
Bases:
StoreErrorRaised when a requested store does not exist.
- exception featherstore.exceptions.StoreAlreadyExistsError[source]#
Bases:
StoreErrorRaised when creating or restoring a store that already exists.
- exception featherstore.exceptions.ForbiddenStoreNameError[source]#
Bases:
StoreErrorRaised when a store name is reserved.
- exception featherstore.exceptions.StoreNotEmptyError[source]#
Bases:
StoreErrorRaised when deleting a store that still contains tables.
- exception featherstore.exceptions.ColumnError[source]#
Bases:
FeatherStoreExceptionBase class for column-related errors.
- exception featherstore.exceptions.ColumnNotFoundError[source]#
Bases:
ColumnErrorRaised when requested columns are not in the table.
- exception featherstore.exceptions.ColumnAlreadyExistsError[source]#
Bases:
ColumnErrorRaised when inserting columns whose names already exist.
- exception featherstore.exceptions.ColumnMismatchError[source]#
Bases:
ColumnErrorRaised when column names do not match the stored table.
- exception featherstore.exceptions.ColumnDtypeMismatchError[source]#
Bases:
ColumnErrorRaised when column dtypes are incompatible.
- exception featherstore.exceptions.DuplicateColumnNamesError[source]#
Bases:
ColumnErrorRaised when column names are not unique.
- exception featherstore.exceptions.ColumnLengthMismatchError[source]#
Bases:
ColumnErrorRaised when new column length does not match stored row count.
- exception featherstore.exceptions.MultiTypeColumnError[source]#
Bases:
ColumnErrorRaised when a column contains multiple dtypes.
- exception featherstore.exceptions.RowError[source]#
Bases:
FeatherStoreExceptionBase class for row-related errors.
- exception featherstore.exceptions.RowNotFoundError[source]#
Bases:
RowErrorRaised when requested rows are not in the table.
- exception featherstore.exceptions.RowAlreadyExistsError[source]#
Bases:
RowErrorRaised when inserting rows that already exist.
- exception featherstore.exceptions.AppendIndexError[source]#
Bases:
RowErrorRaised when append index is not strictly after stored data.
- exception featherstore.exceptions.IndexSchemaError[source]#
Bases:
FeatherStoreExceptionBase class for index schema errors.
- exception featherstore.exceptions.IndexTypeMismatchError[source]#
Bases:
IndexSchemaErrorRaised when index or row types do not match the stored index.
- exception featherstore.exceptions.IndexNameMismatchError[source]#
Bases:
IndexSchemaErrorRaised when index names do not match the stored table.
- exception featherstore.exceptions.IndexNameInColumnsError[source]#
Bases:
IndexSchemaErrorRaised when the index name appears among column names.
- exception featherstore.exceptions.IndexNotInColumnsError[source]#
Bases:
IndexSchemaErrorRaised when a specified index column is not in the data.
- exception featherstore.exceptions.DuplicateIndexValuesError[source]#
Bases:
IndexSchemaErrorRaised when index values are not unique.
- exception featherstore.exceptions.UnsupportedIndexTypeError[source]#
Bases:
IndexSchemaErrorRaised when the index type is not supported.
- exception featherstore.exceptions.IndexMismatchError[source]#
Bases:
IndexSchemaErrorRaised when indices do not match between old and new data.
- exception featherstore.exceptions.MissingIndexError[source]#
Bases:
IndexSchemaErrorRaised when an index is required but not provided.
- exception featherstore.exceptions.DatabaseConnectionError[source]#
Bases:
FeatherStoreExceptionBase class for database connection errors.
- exception featherstore.exceptions.NotConnectedError[source]#
Bases:
DatabaseConnectionErrorRaised when FeatherStore is not connected to a database.
- exception featherstore.exceptions.NotADatabaseError[source]#
Bases:
DatabaseConnectionErrorRaised when connecting to a path that is not a database.
- exception featherstore.exceptions.PopulatedDirectoryError[source]#
Bases:
DatabaseConnectionErrorRaised when creating a database in a non-empty directory.
- exception featherstore.exceptions.SnapshotError[source]#
Bases:
FeatherStoreExceptionBase class for snapshot errors.
- exception featherstore.exceptions.SnapshotNotFoundError[source]#
Bases:
SnapshotErrorRaised when a snapshot file does not exist.
- exception featherstore.exceptions.InvalidSnapshotError[source]#
Bases:
SnapshotErrorRaised when a file is not a valid snapshot of the expected type.
- exception featherstore.exceptions.SnapshotTargetNotFoundError[source]#
Bases:
SnapshotErrorRaised when the snapshot source path does not exist.
- exception featherstore.exceptions.PathError[source]#
Bases:
FeatherStoreExceptionBase class for path safety errors.