Skip to content

Commit

Permalink
fix: exceptions inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
khodedawsh committed Jul 29, 2024
1 parent 6932603 commit 054f8cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v2share/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ class V2ShareError(Exception):
"""Base class for all v2share exceptions"""


class NotSupportedError(Exception):
class NotSupportedError(V2ShareError):
"""indicating that the proxy is somehow not supported by v2share"""


class TransportNotSupportedError(Exception):
class TransportNotSupportedError(NotSupportedError):
"""indicating that the specified transport is not supported"""


class ProtocolNotSupportedError(Exception):
class ProtocolNotSupportedError(NotSupportedError):
"""indicating that the protocol is not supported"""

0 comments on commit 054f8cd

Please sign in to comment.