lsst.pex.exceptions¶
The lsst.pex.exceptions module provides custom exceptions for the LSST Science Pipelines.
Contributing¶
lsst.pex.exceptions is developed at https://github.com/lsst/pex_exceptions.
You can find Jira issues for this module under the pex_exceptions component.
Python API reference¶
lsst.pex.exceptions Package¶
Functions¶
declare(module, exception_name, base, …) |
Declare a new exception. |
register(cls) |
A Python decorator that adds a Python exception wrapper to the registry that maps C++ Exceptions to their Python wrapper classes. |
translate(cpp) |
Translate a C++ Exception instance to Python and return it. |
Classes¶
DomainError(arg, *args, **kwds) |
|
Exception(arg, *args, **kwds) |
The base class for Python-wrapped LSST C++ exceptions. |
ExceptionMeta |
A metaclass for custom exception wrappers, which adds lookup of class attributes by delegating to the Swig-generated wrapper. |
InvalidParameterError(arg, *args, **kwds) |
|
IoError(arg, *args, **kwds) |
|
LengthError(arg, *args, **kwds) |
|
LogicError(arg, *args, **kwds) |
|
NotFoundError(arg, *args, **kwds) |
|
OutOfRangeError(arg, *args, **kwds) |
|
OverflowError(arg, *args, **kwds) |
|
RangeError(arg, *args, **kwds) |
|
RuntimeError(arg, *args, **kwds) |
|
Tracepoint |
|
TypeError(arg, *args, **kwds) |
|
UnderflowError(arg, *args, **kwds) |