MCPcopy Create free account
hub / github.com/python-websockets/websockets / ConnectionClosedError

Class ConnectionClosedError

src/websockets/exceptions.py:156–163  ·  view source on GitHub ↗

Like :exc:`ConnectionClosed`, when the connection terminated with an error. A close frame with a code other than 1000 (OK) or 1001 (going away) was received or sent, or the closing handshake didn't complete properly.

Source from the content-addressed store, hash-verified

154
155
156class ConnectionClosedError(ConnectionClosed):
157 """
158 Like :exc:`ConnectionClosed`, when the connection terminated with an error.
159
160 A close frame with a code other than 1000 (OK) or 1001 (going away) was
161 received or sent, or the closing handshake didn't complete properly.
162
163 """
164
165
166class InvalidURI(WebSocketException):

Callers 2

connection_closed_excMethod · 0.85
test_strMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_strMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…