equal
deleted
inserted
replaced
12 return "%i:%s"%(self.code,self.msg) |
12 return "%i:%s"%(self.code,self.msg) |
13 |
13 |
14 class UserNotFound(InterfaceException): |
14 class UserNotFound(InterfaceException): |
15 def __init__(self): |
15 def __init__(self): |
16 InterfaceException.__init__(self, 901, u"Der API-Key ist ungültig.") |
16 InterfaceException.__init__(self, 901, u"Der API-Key ist ungültig.") |
|
17 |
|
18 class JobNotFound(InterfaceException): |
|
19 def __init__(self): |
|
20 InterfaceException.__init__(self, 902, u"Die Jobid ist ungültig.") |
17 |
21 |
18 class ExternalException(InterfaceException): |
22 class ExternalException(InterfaceException): |
19 def __init__(self): |
23 def __init__(self): |
20 InterfaceException.__init__(self, 950, "Fehler in externer API.") |
24 InterfaceException.__init__(self, 950, "Fehler in externer API.") |
21 |
25 |