You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
436 B

class SocketIOError(Exception):
pass
class ConnectionError(SocketIOError):
pass
class ConnectionRefusedError(ConnectionError):
"""
Raised when connection is refused on the application level
"""
def __init__(self, info):
self._info = info
def get_info(self):
"""
This method could be overridden in subclass to add extra logic for data output
"""
return self._info