Codebase list drms / HEAD drms / exceptions.py
HEAD

Tree @HEAD (Download .tar.gz)

exceptions.py @HEADraw · history · blame

__all__ = [
    "DrmsError",
    "DrmsQueryError",
    "DrmsExportError",
    "DrmsOperationNotSupported",
]


class DrmsError(RuntimeError):
    """
    Unspecified DRMS run-time error.
    """


class DrmsQueryError(DrmsError):
    """
    DRMS query error.
    """


class DrmsExportError(DrmsError):
    """
    DRMS data export error.
    """


class DrmsOperationNotSupported(DrmsError):
    """
    Operation is not supported by DRMS server.
    """