zarr.errors =========== .. py:module:: zarr.errors Exceptions ---------- .. autoapisummary:: zarr.errors.BaseZarrError zarr.errors.ContainsArrayAndGroupError zarr.errors.ContainsArrayError zarr.errors.ContainsGroupError zarr.errors.GroupNotFoundError zarr.errors.MetadataValidationError zarr.errors.NodeTypeValidationError Module Contents --------------- .. py:exception:: BaseZarrError(*args: Any) Bases: :py:obj:`ValueError` Base error which all zarr errors are sub-classed from. .. !! processed by numpydoc !! .. py:exception:: ContainsArrayAndGroupError(*args: Any) Bases: :py:obj:`BaseZarrError` Raised when both array and group metadata are found at the same path. .. !! processed by numpydoc !! .. py:exception:: ContainsArrayError(*args: Any) Bases: :py:obj:`BaseZarrError` Raised when an array already exists at a certain path. .. !! processed by numpydoc !! .. py:exception:: ContainsGroupError(*args: Any) Bases: :py:obj:`BaseZarrError` Raised when a group already exists at a certain path. .. !! processed by numpydoc !! .. py:exception:: GroupNotFoundError(*args: Any) Bases: :py:obj:`BaseZarrError`, :py:obj:`FileNotFoundError` Raised when a group isn't found at a certain path. .. !! processed by numpydoc !! .. py:exception:: MetadataValidationError(*args: Any) Bases: :py:obj:`BaseZarrError` Raised when the Zarr metadata is invalid in some way .. !! processed by numpydoc !! .. py:exception:: NodeTypeValidationError(*args: Any) Bases: :py:obj:`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'. .. !! processed by numpydoc !!