Skip to content

Comments

Improve error handling and type hints across validator and miner modules#225

Open
sm4rtdev wants to merge 2 commits intoAffineFoundation:mainfrom
sm4rtdev:refactor/improve-error-handling
Open

Improve error handling and type hints across validator and miner modules#225
sm4rtdev wants to merge 2 commits intoAffineFoundation:mainfrom
sm4rtdev:refactor/improve-error-handling

Conversation

@sm4rtdev
Copy link

  • Add custom exception classes (WeightProcessingError, WeightSettingError, MinerQueryError)
  • Enhance error handling with specific exception types for network errors
  • Improve type hints and documentation in weight_setter, miners, and commands modules
  • Add better error context and logging throughout

- Add custom exception classes (WeightProcessingError, WeightSettingError, MinerQueryError)
- Enhance error handling with specific exception types for network errors
- Improve type hints and documentation in weight_setter, miners, and commands modules
- Add better error context and logging throughout
@sm4rtdev sm4rtdev marked this pull request as draft December 25, 2025 17:13
@sm4rtdev sm4rtdev marked this pull request as ready for review December 25, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant