1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 """Module for exceptions.
22
23 """
24
25
27 """Base exception for all pushnotify errors.
28
29 Args:
30 args[0]: A string containing a message.
31 args[1]: An integer containing an error.
32
33 """
34
39
40
42 """Raised when a provided API key is invalid
43
44 Args:
45 args[0]: A string containing a message from the server.
46 args[1]: An integer containing an error code from the server.
47
48 """
49
50 pass
51
52
63
64
66 """Raised when a request had not been approved.
67
68 Args:
69 args[0]: A string containing a message from the server.
70 args[1]: An integer containing an error code from the server.
71
72 """
73
74 pass
75
76
78 """Raised when a provided Provider key is invalid.
79
80 Args:
81 args[0]: A string containing a message from the server.
82 args[1]: An integer containing an error code from the server.
83
84 """
85 pass
86
87
89 """Raised when too many requests are submitted in too small a time
90 frame.
91
92 Args:
93 args[0]: A string containing a message from the server.
94 args[1]: An integer containing an error code from the server.
95
96 """
97
98 pass
99
100
102 """Raised when the notification server experiences an internal error.
103
104 Args:
105 args[0]: A string containing a message from the server.
106 args[1]: An integer containing an error code from the server.
107
108 """
109
110 pass
111
112
114 """Raised when the notification server returns an unknown error.
115
116 Args:
117 args[0]: A string containing a message from the server.
118 args[1]: An integer containing an error code from the server.
119
120 """
121
122 pass
123
124
126 """Raised when the notification server returns an unrecognized
127 response.
128
129 Args:
130 args[0]: A string containing the response from the server.
131 args[1]: -1.
132
133 """
134
135 pass
136
137
138 if __name__ == '__main__':
139 pass
140