zarr_indexing.errors
zarr_indexing.errors ¶
Canonical index-error types raised by the transform algebra.
These are the authoritative class definitions. zarr.errors re-exports the
same objects (from zarr_indexing.errors import ...) so that, e.g.,
zarr.errors.BoundsCheckError is zarr_indexing.errors.BoundsCheckError.
Both subclass the built-in IndexError, so existing except IndexError (or
except zarr.errors.BoundsCheckError) catch sites keep working unchanged.
BoundsCheckError ¶
Bases: IndexError
Source code in packages/zarr-indexing/src/zarr_indexing/errors.py
VindexInvalidSelectionError ¶
Bases: IndexError