RegistryError

exception lsst.daf.butler.registry.RegistryError

Base class for many exception classes produced by Registry methods.

Notes

The client code that needs to handle exceptions generated by the Registry methods can catch this class or one of its many subclasses as described by the particular method documentation. While most of the Registry methods should only raise the exceptions of this type, it is hard to guarantee that they will never raise other exception types. If the client needs to handle all possible exceptions, then it should also catch a standard Exception type as well. Additionally, some Registry methods can be explicitly documented to raise exceptions outside this class hierarchy.