Stage 03.3 - exchangeInfo and symbol validation
This commit is contained in:
13
app/src/integrations/exchange/exceptions.py
Normal file
13
app/src/integrations/exchange/exceptions.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
class ExchangeError(Exception):
|
||||
"""Base exchange integration error."""
|
||||
|
||||
|
||||
class ExchangeConnectionError(ExchangeError):
|
||||
"""HTTP/network/timeout level exchange error."""
|
||||
|
||||
|
||||
class ExchangeResponseError(ExchangeError):
|
||||
"""Unexpected HTTP response or malformed JSON."""
|
||||
Reference in New Issue
Block a user