Skip to content

SOURCE CODE pyparam.exceptions DOCS

"""Exceptions used in pyparam"""


class PyParamException(Exception):DOCS
    """Base exception for pyparam"""


class PyParamTypeError(PyParamException):DOCS
    """When parameter type is not supported"""


class PyParamValueError(PyParamException):DOCS
    """When parameter value is improper"""


class PyParamNameError(PyParamException):DOCS
    """Any errors related to parameter names"""