declare

lsst.pex.exceptions.declare(module, exception_name, base, wrapped_class)[source]

Declare a new exception.