1 2 3 4 5 6
class IsRunning(Exception): def __init__(self): self.what = "Another client is already running, trying to wake it." def __str__(self): return self.what