lsst.pex.exceptions
13.0-3-g13ef843+2
|
Classes | |
class | ExceptionMeta |
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 |
def | declare |
Variables | |
dictionary | registry = {} |
def lsst.pex.exceptions.wrappers.declare | ( | module, | |
exception_name, | |||
base, | |||
wrapped_class | |||
) |
Declare a new exception.
Definition at line 139 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 12 of file wrappers.py.
def lsst.pex.exceptions.wrappers.translate | ( | cpp | ) |
Translate a C++ Exception instance to Python and return it.
Definition at line 130 of file wrappers.py.
dictionary lsst.pex.exceptions.wrappers.registry = {} |
Definition at line 9 of file wrappers.py.