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

class NoProgrammeLoadedException(Exception):
    pass


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

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

    def __str__(self):
15
16
17
18
19
20
21
22
        return repr(self.value)


class RedisConnectionException(Exception):
    pass

class FallbackException(Exception):
    pass