auraexceptions.py 284 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

class NoProgrammeLoadedException(Exception):
    pass


class LQConnectionError(Exception):
    value = None
    message = ""

    def __init__(self, value, message=""):
        self.value = value
        self.message = message

    def __str__(self):
        return repr(self.value)