Skip to content

Commit d28ee61

Browse files
authored
TransportQueryError should extend TransportError (#392)
1 parent 2827d88 commit d28ee61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gql/transport/exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self, message: str, code: Optional[int] = None):
2727
self.code = code
2828

2929

30-
class TransportQueryError(Exception):
30+
class TransportQueryError(TransportError):
3131
"""The server returned an error for a specific query.
3232
3333
This exception should not close the transport connection.

0 commit comments

Comments
 (0)