mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-18 22:34:21 +01:00
Add hierarchy logic to custom exceptions.
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
from ..exceptions import BfxBaseException
|
||||
|
||||
__all__ = [
|
||||
"BfxRestException",
|
||||
|
||||
"RequestParametersError",
|
||||
"ResourceNotFound",
|
||||
"InvalidAuthenticationCredentials"
|
||||
]
|
||||
|
||||
class BfxRestException(Exception):
|
||||
class BfxRestException(BfxBaseException):
|
||||
"""
|
||||
Base class for all exceptions defined in bfxapi/rest/exceptions.py.
|
||||
Base class for all custom exceptions in bfxapi/rest/exceptions.py.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user