Source code for hepstats.hypotests.exceptions

"""
Specific exceptions for the `hypotests` submodule
"""

from __future__ import annotations


[docs] class POIRangeError(Exception): """Exception class non adequate POI scan range""" def __init__(self, *args, **kwargs): Exception.__init__(self, *args, **kwargs)
[docs] class ParameterNotFound(Exception): """Exception class raised if a parameter with a given name is not found""" def __init__(self, *args, **kwargs): Exception.__init__(self, *args, **kwargs)
[docs] class FormatError(Exception): """Exception class raised when unexpected yaml format are read""" def __init__(self, *args, **kwargs): Exception.__init__(self, *args, **kwargs)