Skip to content

Errors

errors

Classes:

Name Description
AmbiguousSnapshotError

Raised when a short snapshot id prefix matches more than one snapshot.

DatasetNotFoundError

Raised when a named dataset does not exist in the local store.

IncompatibleSnapshotError

Raised when a snapshot's format version cannot be compared.

IndexUnusable

The index exists but cannot be queried, and must be rebuilt.

InputTooLargeError

Raised when a dataset exceeds the configured snapshot row limit.

MissingDependencyError

Raised when an optional feature's dependency is not installed.

SnapshotNotFoundError

Raised when a snapshot cannot be located in the local store.

StoreCorruptionError

Raised when a file in the local store cannot be read back as written.

StoreInitError

Raised when local store initialization fails partway through.

StoreNotFoundError

Raised when no local store root can be resolved.

AmbiguousSnapshotError

Bases: Exception


              flowchart TD
              dstrack.errors.AmbiguousSnapshotError[AmbiguousSnapshotError]

              

              click dstrack.errors.AmbiguousSnapshotError href "" "dstrack.errors.AmbiguousSnapshotError"
            

Raised when a short snapshot id prefix matches more than one snapshot.

DatasetNotFoundError

Bases: Exception


              flowchart TD
              dstrack.errors.DatasetNotFoundError[DatasetNotFoundError]

              

              click dstrack.errors.DatasetNotFoundError href "" "dstrack.errors.DatasetNotFoundError"
            

Raised when a named dataset does not exist in the local store.

IncompatibleSnapshotError

Bases: Exception


              flowchart TD
              dstrack.errors.IncompatibleSnapshotError[IncompatibleSnapshotError]

              

              click dstrack.errors.IncompatibleSnapshotError href "" "dstrack.errors.IncompatibleSnapshotError"
            

Raised when a snapshot's format version cannot be compared.

IndexUnusable

Bases: Exception


              flowchart TD
              dstrack.errors.IndexUnusable[IndexUnusable]

              

              click dstrack.errors.IndexUnusable href "" "dstrack.errors.IndexUnusable"
            

The index exists but cannot be queried, and must be rebuilt.

InputTooLargeError

Bases: Exception


              flowchart TD
              dstrack.errors.InputTooLargeError[InputTooLargeError]

              

              click dstrack.errors.InputTooLargeError href "" "dstrack.errors.InputTooLargeError"
            

Raised when a dataset exceeds the configured snapshot row limit.

MissingDependencyError

Bases: Exception


              flowchart TD
              dstrack.errors.MissingDependencyError[MissingDependencyError]

              

              click dstrack.errors.MissingDependencyError href "" "dstrack.errors.MissingDependencyError"
            

Raised when an optional feature's dependency is not installed.

SnapshotNotFoundError

Bases: Exception


              flowchart TD
              dstrack.errors.SnapshotNotFoundError[SnapshotNotFoundError]

              

              click dstrack.errors.SnapshotNotFoundError href "" "dstrack.errors.SnapshotNotFoundError"
            

Raised when a snapshot cannot be located in the local store.

StoreCorruptionError

Bases: Exception


              flowchart TD
              dstrack.errors.StoreCorruptionError[StoreCorruptionError]

              

              click dstrack.errors.StoreCorruptionError href "" "dstrack.errors.StoreCorruptionError"
            

Raised when a file in the local store cannot be read back as written.

StoreInitError

Bases: Exception


              flowchart TD
              dstrack.errors.StoreInitError[StoreInitError]

              

              click dstrack.errors.StoreInitError href "" "dstrack.errors.StoreInitError"
            

Raised when local store initialization fails partway through.

StoreNotFoundError

Bases: Exception


              flowchart TD
              dstrack.errors.StoreNotFoundError[StoreNotFoundError]

              

              click dstrack.errors.StoreNotFoundError href "" "dstrack.errors.StoreNotFoundError"
            

Raised when no local store root can be resolved.