"""异常定义模块"""


class NoVNCClientError(Exception):
    """noVNC 客户端基础异常"""

    pass


class ConnectionError(NoVNCClientError):
    """连接异常"""

    pass


class HandshakeError(NoVNCClientError):
    """握手异常"""

    pass


class AuthenticationError(NoVNCClientError):
    """认证异常"""

    pass


class ProtocolError(NoVNCClientError):
    """协议异常"""

    pass


class FramebufferError(NoVNCClientError):
    """帧缓冲区异常"""

    pass


class InputError(NoVNCClientError):
    """输入异常"""

    pass


class ScreenshotError(NoVNCClientError):
    """截图异常"""

    pass
