# exceptions.py

class SignalError(AttributeError):
    """ My Custom Error """
    msg = "Signal database error!"

# exceptions.py

class SignalError(AttributeError):
    """ My Custom Error """
    msg = "Signal database error!"

# exceptions.py My Custom Error