"""
This type stub file was generated by pyright.
"""

class SimpleWebsocketError(RuntimeError):
    ...


class ConnectionError(SimpleWebsocketError):
    """Connection error exception class."""
    def __init__(self, status_code=...) -> None:
        ...
    


class ConnectionClosed(SimpleWebsocketError):
    """Connection closed exception class."""
    def __init__(self, reason=..., message=...) -> None:
        ...
    


