diff options
author | liris <liris.pp@gmail.com> | 2014-10-15 15:15:01 +0900 |
---|---|---|
committer | liris <liris.pp@gmail.com> | 2014-10-15 15:15:01 +0900 |
commit | 63c2f5a91ad8bf75a7fe5e69046ae6cb3edee8eb (patch) | |
tree | dce5b69472481d5eda56707e99306924d5e6e833 /websocket/_exceptions.py | |
parent | 158663b84f4e98ba19a81845ba0398e3d2a87c2b (diff) | |
download | websocket-client-63c2f5a91ad8bf75a7fe5e69046ae6cb3edee8eb.tar.gz |
refs #117 . change exception type.
Diffstat (limited to 'websocket/_exceptions.py')
-rw-r--r-- | websocket/_exceptions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/websocket/_exceptions.py b/websocket/_exceptions.py index b0be191..85aa0e3 100644 --- a/websocket/_exceptions.py +++ b/websocket/_exceptions.py @@ -30,6 +30,11 @@ class WebSocketException(Exception): """ pass +class WebSocketProtocolException(WebSocketException): + """ + If the webscoket protocol is invalid, this exception will be raised. + """ + pass class WebSocketConnectionClosedException(WebSocketException): """ |