lsst.pex.exceptions
8.0.0.0-23-g68b96ed
|
Classes | |
class | Exception |
class | LogicError |
class | DomainError |
class | InvalidParameterError |
class | LengthError |
class | OutOfRangeError |
class | RuntimeError |
class | RangeError |
class | OverflowError |
class | UnderflowError |
class | NotFoundError |
class | MemoryError |
class | IoError |
class | TypeError |
class | TimeoutError |
Functions | |
def | register |
def | translate |
Variables | |
dictionary | registry = {} |
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.
def lsst.pex.exceptions.wrappers.translate | ( | cpp | ) |
Translate a C++ Exception instance to Python and return it.
dictionary lsst::pex::exceptions::wrappers::registry = {} |