LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Classes | |
class | DomainError |
class | Exception |
class | ExceptionMeta |
class | InvalidParameterError |
class | IoError |
class | LengthError |
class | LogicError |
class | NotFoundError |
class | OutOfRangeError |
class | OverflowError |
class | RangeError |
class | RuntimeError |
class | TypeError |
class | UnderflowError |
Functions | |
def | register (cls) |
def | translate (cpp) |
def | declare (module, exception_name, base, wrapped_class) |
Variables | |
dictionary | registry = {} |
def lsst.pex.exceptions.wrappers.declare | ( | module, | |
exception_name, | |||
base, | |||
wrapped_class | |||
) |
Declare a new exception.
Definition at line 153 of file wrappers.py.
def lsst.pex.exceptions.wrappers.register | ( | cls | ) |
A Python decorator that adds a Python exception wrapper to the registry that maps C++ Exceptions to their Python wrapper classes.
Definition at line 36 of file wrappers.py.
def lsst.pex.exceptions.wrappers.translate | ( | cpp | ) |
Translate a C++ Exception instance to Python and return it.
Definition at line 144 of file wrappers.py.
dictionary lsst.pex.exceptions.wrappers.registry = {} |
Definition at line 33 of file wrappers.py.