hdf5storage.exceptions

Module of Exceptions.

Hdf5storageError

Base class of hdf5storage package exceptions.

CantReadError

Exception for a failure to read the desired data.

TypeNotMatlabCompatibleError

Exception for trying to write non-MATLAB compatible data.

Hdf5storageError

exception hdf5storage.exceptions.Hdf5storageError[source]

Bases: OSError

Base class of hdf5storage package exceptions.

CantReadError

exception hdf5storage.exceptions.CantReadError[source]

Bases: hdf5storage.exceptions.Hdf5storageError

Exception for a failure to read the desired data.

TypeNotMatlabCompatibleError

exception hdf5storage.exceptions.TypeNotMatlabCompatibleError[source]

Bases: hdf5storage.exceptions.Hdf5storageError

Exception for trying to write non-MATLAB compatible data.

In the event that MATLAB compatibility is being done (Options.matlab_compatible) and a Python type is not importable by MATLAB, the data is either not written or this exception is thrown depending on the value of Options.action_for_matlab_incompatible.