declare

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

Declare a new exception.