Class lsst::pex::exceptions::Exception¶
-
class
Exception
: public exception¶ Provides consistent interface for LSST exceptions.
All exceptions defined by the LSST Stack are derived from this class. Code should not throw or catch Exception directly, but should instead be written in terms of the appropriate subclasses (e.g., catch RuntimeError to handle all unknown errors).
In Python, this exception inherits from
builtins.Exception
.