Skip to content

Commit 95d4f96

Browse files
TexasCodingclaude
andcommitted
feat(error-handling): complete enterprise-grade error handling migration
- Add @handle_errors decorators to remaining async methods in: - orderbook/base.py (10 methods) - position_manager/operations.py (4 methods) - orderbook/analytics.py (3 methods) - Update error handling patterns: - Remove redundant try/except blocks where decorators handle errors - Add structured logging with LogContext in position operations - Use LogMessages constants for consistent logging - Add missing LogMessages constants: - CALLBACK_REGISTERED for callback registration events - CALLBACK_REMOVED for callback removal events - CLEANUP_COMPLETE for cleanup completion events - Code quality improvements: - Format code with ruff (4 files reformatted) - Fix unused imports in analytics.py - All mypy type checks pass (0 errors in 72 source files) This completes the error handling migration from ERROR_HANDLING_MIGRATION_GUIDE.md All core components now use enterprise-grade error handling patterns with: - Consistent decorator usage for error handling - Structured logging with LogMessages and LogContext - Proper error propagation and recovery - Type-safe error handling throughout 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
1 parent 1b99634 commit 95d4f96

File tree

4 files changed

+323
-302
lines changed

4 files changed

+323
-302
lines changed

0 commit comments

Comments
 (0)