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
def __init__(self, *args, **kwargs): RpcdError.__init__(self, NULOG, NULOG_REPORTING_ALREADY_EDITING, *args, **kwargs)
def __init__(self, *args, **kwargs): RpcdError.__init__(self, NULOG, NULOG_DATABASE_ERROR, *args, **kwargs)
def __init__(self, item): self.unresolvable = unicode(item) RpcdError.__init__(self, "Unable to resolve '%s'" % unicode(item))