ArchiveAccessRequiredError#
- exception lsst.images.serialization.ArchiveAccessRequiredError#
Bases:
RuntimeErrorException raised when a deserialization needs data from the file.
Raised by all data-access methods of
DetachedArchive, signaling that the requested object cannot be deserialized from the JSON tree alone.Notes#
This deliberately does not inherit from
ArchiveReadError: it signals that a live archive is required rather than that an archive is corrupt, and it must not be swallowed byexcept ArchiveReadErrorhandlers.