Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit cc4e05c

Browse files
committed
Fixup linting errors in common/exceptions.py.
1 parent 94ebdff commit cc4e05c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hyper/common/exceptions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
66
Contains hyper's exceptions.
77
"""
8+
9+
810
class ChunkedDecodeError(Exception):
911
"""
1012
An error was encountered while decoding a chunked response.
@@ -43,6 +45,7 @@ class ConnectionResetError(Exception):
4345
A HTTP connection was unexpectedly reset.
4446
"""
4547

48+
4649
class TLSUpgrade(Exception):
4750
"""
4851
We upgraded to a new protocol in the NPN/ALPN handshake.
@@ -52,6 +55,7 @@ def __init__(self, negotiated, sock):
5255
self.negotiated = negotiated
5356
self.sock = sock
5457

58+
5559
class HTTPUpgrade(Exception):
5660
"""
5761
We upgraded to a new protocol via the HTTP Upgrade response.

0 commit comments

Comments
 (0)