duck.contrib.websockets.exceptionsยถ

WebSocket exceptions module.

Module Contentsยถ

APIยถ

exception duck.contrib.websockets.exceptions.BaseExceptionยถ

Bases: Exception

Base exception for the websocket-related errors.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception duck.contrib.websockets.exceptions.ExtensionErrorยถ

Bases: duck.contrib.websockets.exceptions.BaseException

Raised on extension errors.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception duck.contrib.websockets.exceptions.PayloadTooBigยถ

Bases: duck.contrib.websockets.exceptions.ProtocolError

Raised when payload is too big.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception duck.contrib.websockets.exceptions.ProtocolErrorยถ

Bases: duck.contrib.websockets.exceptions.BaseException

Raised on Protocol-based errors.

Initialization

Initialize self. See help(type(self)) for accurate signature.