예제 #1
0
 def __init__(self, command, status, output):
     RpcdError.__init__(self,
         tr('Command "%s" failed (exit code %s):\n%s'),
         command, status, output)
     self.command = command
     self.status = status
     self.output = output
예제 #2
0
 def __init__(self, *args, **kwargs):
     RpcdError.__init__(self, NULOG, NULOG_REPORTING_ALREADY_EDITING, *args, **kwargs)
예제 #3
0
 def __init__(self, *args, **kwargs):
     RpcdError.__init__(self, NULOG, NULOG_DATABASE_ERROR, *args, **kwargs)
예제 #4
0
 def __init__(self, item):
     self.unresolvable = unicode(item)
     RpcdError.__init__(self, "Unable to resolve '%s'" % unicode(item))