mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-18 22:34:21 +01:00
Add support for new various endpoints. Add ResourceNotFound error in bfxapi/rest/exceptions.py. Fix bug in BfxRestInterface.__GET method.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
__all__ = [
|
||||
"RequestParametersError"
|
||||
"RequestParametersError",
|
||||
"ResourceNotFound"
|
||||
]
|
||||
|
||||
class BfxRestException(Exception):
|
||||
@@ -14,4 +15,11 @@ class RequestParametersError(BfxRestException):
|
||||
This error indicates that there are some invalid parameters sent along with an HTTP request.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
class ResourceNotFound(BfxRestException):
|
||||
"""
|
||||
This error indicates a failed HTTP request to a non-existent resource.
|
||||
"""
|
||||
|
||||
pass
|
||||
Reference in New Issue
Block a user