|
lsst.pex.exceptions
15.0-3-g707930d+3
|
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 156 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 39 of file wrappers.py.
| def lsst.pex.exceptions.wrappers.translate | ( | cpp | ) |
Translate a C++ Exception instance to Python and return it.
Definition at line 147 of file wrappers.py.
| dictionary lsst.pex.exceptions.wrappers.registry = {} |
Definition at line 36 of file wrappers.py.
1.8.13