lsst.pex.exceptions
The lsst.pex.exceptions module provides custom exceptions for the LSST Science Pipelines.
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)
 |  | 
Class Inheritance Diagram
digraph inheritance6f536e8108 {
bgcolor=transparent;
rankdir=LR;
size="8.0, 12.0";
  "DomainError" [URL="../../../py-api/lsst.pex.exceptions.DomainError.html#lsst.pex.exceptions.DomainError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "LogicError" -> "DomainError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "Exception" [URL="../../../py-api/lsst.pex.exceptions.Exception.html#lsst.pex.exceptions.Exception",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="The base class for Python-wrapped LSST C++ exceptions."];
  "ExceptionMeta" [URL="../../../py-api/lsst.pex.exceptions.ExceptionMeta.html#lsst.pex.exceptions.ExceptionMeta",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A metaclass for custom exception wrappers, which adds lookup of class attributes"];
  "InvalidParameterError" [URL="../../../py-api/lsst.pex.exceptions.InvalidParameterError.html#lsst.pex.exceptions.InvalidParameterError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "LogicError" -> "InvalidParameterError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "IoError" [URL="../../../py-api/lsst.pex.exceptions.IoError.html#lsst.pex.exceptions.IoError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "RuntimeError" -> "IoError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "LengthError" [URL="../../../py-api/lsst.pex.exceptions.LengthError.html#lsst.pex.exceptions.LengthError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "LogicError" -> "LengthError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "LogicError" [URL="../../../py-api/lsst.pex.exceptions.LogicError.html#lsst.pex.exceptions.LogicError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "Exception" -> "LogicError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "NotFoundError" [URL="../../../py-api/lsst.pex.exceptions.NotFoundError.html#lsst.pex.exceptions.NotFoundError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "Exception" -> "NotFoundError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "OutOfRangeError" [URL="../../../py-api/lsst.pex.exceptions.OutOfRangeError.html#lsst.pex.exceptions.OutOfRangeError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "LogicError" -> "OutOfRangeError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "OverflowError" [URL="../../../py-api/lsst.pex.exceptions.OverflowError.html#lsst.pex.exceptions.OverflowError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "RuntimeError" -> "OverflowError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "RangeError" [URL="../../../py-api/lsst.pex.exceptions.RangeError.html#lsst.pex.exceptions.RangeError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "RuntimeError" -> "RangeError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "RuntimeError" [URL="../../../py-api/lsst.pex.exceptions.RuntimeError.html#lsst.pex.exceptions.RuntimeError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "Exception" -> "RuntimeError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "Tracepoint" [URL="../../../py-api/lsst.pex.exceptions.Tracepoint.html#lsst.pex.exceptions.Tracepoint",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "pybind11_object" -> "Tracepoint" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "TypeError" [URL="../../../py-api/lsst.pex.exceptions.TypeError.html#lsst.pex.exceptions.TypeError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "LogicError" -> "TypeError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "UnderflowError" [URL="../../../py-api/lsst.pex.exceptions.UnderflowError.html#lsst.pex.exceptions.UnderflowError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"];
  "RuntimeError" -> "UnderflowError" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "pybind11_object" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"];
}