mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 14:54:21 +01:00
15 lines
500 B
Python
15 lines
500 B
Python
class BfxBaseException(Exception):
|
|
"""
|
|
Base class for every custom exception in bfxapi/rest/exceptions.py and bfxapi/websocket/exceptions.py.
|
|
"""
|
|
|
|
class IncompleteCredentialError(BfxBaseException):
|
|
"""
|
|
This error indicates an incomplete credential object (missing api-key or api-secret).
|
|
"""
|
|
|
|
class InvalidCredentialError(BfxBaseException):
|
|
"""
|
|
This error indicates that the user has provided incorrect credentials (API-KEY and API-SECRET) for authentication.
|
|
"""
|