Files
zeekay fae0efeb1b chore: normalize naming to LX across codebase
Apply consistent naming conventions throughout:
- Standardize product name to "LX" in documentation
- Update README files and API documentation
- Apply linter fixes to all source files
- Update Hummingbot connector documentation
2025-12-11 21:04:37 -08:00

48 lines
793 B
Python

"""
Exception definitions for LX Python SDK
"""
class LXDexException(Exception):
"""Base exception for LX SDK"""
pass
class ConnectionError(LXDexException):
"""Connection-related errors"""
pass
class OrderError(LXDexException):
"""Order-related errors"""
pass
class AuthenticationError(LXDexException):
"""Authentication errors"""
pass
class RateLimitError(LXDexException):
"""Rate limit exceeded"""
pass
class InvalidParameterError(LXDexException):
"""Invalid parameter provided"""
pass
class InsufficientBalanceError(OrderError):
"""Insufficient balance for order"""
pass
class OrderNotFoundError(OrderError):
"""Order not found"""
pass
class MarketClosedError(OrderError):
"""Market is closed"""
pass