errors
zarr.errors ¶
ArrayNotFoundError ¶
Bases: NodeNotFoundError
Raised when an array isn't found at a certain path.
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
BaseZarrError ¶
Bases: ValueError
Base error which all zarr errors are sub-classed from.
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
ContainsArrayAndGroupError ¶
Bases: BaseZarrError
Raised when both array and group metadata are found at the same path.
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
ContainsArrayError ¶
Bases: BaseZarrError
Raised when an array already exists at a certain path.
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
ContainsGroupError ¶
Bases: BaseZarrError
Raised when a group already exists at a certain path.
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
GroupNotFoundError ¶
Bases: NodeNotFoundError
Raised when a group isn't found at a certain path.
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
MetadataValidationError ¶
Bases: BaseZarrError
Raised when the Zarr metadata is invalid in some way
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
NodeNotFoundError ¶
Bases: BaseZarrError
, FileNotFoundError
Raised when a node (array or group) is not found at a certain path.
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
NodeTypeValidationError ¶
Bases: MetadataValidationError
Specialized exception when the node_type of the metadata document is incorrect.
This can be raised when the value is invalid or unexpected given the context, for example an 'array' node when we expected a 'group'.
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
UnknownCodecError ¶
Bases: BaseZarrError
Raised when a unknown codec was used.
Source code in zarr/errors.py
__init__ ¶
__init__(*args: object) -> None
If a single argument is passed, treat it as a pre-formatted message.
If multiple arguments are passed, they are used as arguments for a template string class variable. This behavior is deprecated.
Source code in zarr/errors.py
UnstableSpecificationWarning ¶
Bases: ZarrFutureWarning
A warning raised to indicate that a feature is outside the Zarr specification.
ZarrDeprecationWarning ¶
Bases: DeprecationWarning
A warning raised to indicate that a feature will be removed in a future release.
ZarrFutureWarning ¶
Bases: FutureWarning
A warning intended for end users raised to indicate deprecated features.
ZarrRuntimeWarning ¶
Bases: RuntimeWarning
A warning for dubious runtime behavior.