- Add APIError struct with code, message, details, suggestion, retryable - Add error code constants (MINER_NOT_FOUND, PROFILE_NOT_FOUND, etc.) - Add respondWithError helper with automatic suggestions per error type - Update miner not found and profile not found errors to use new format - Fix .gitignore to not match pkg/mining directory Improves DX by providing machine-readable error codes and actionable suggestions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| database | ||
| mining | ||
| node | ||