Source code for dshsaa.raw.exceptions

#! /usr/bin/env python3

"""
exceptions.py contains all custom warnings and exceptions for the package
"""

[docs]class Error(Exception): """ Base class for other exceptions """ pass
[docs]class KnownFault(Error): """ Raised when known bad code would be run :param str err_msg: When called as raw.exceptions.KnownFault("err_msg"), the appropriate KnownFault error will be thrown with the "err_msg" string provided. """ pass