7.3 Error handling
**Size:** M
**Description:**
Implement validation and clear error messages.
**Implementation:**
- Validate command ordering where possible
- Clear error messages for invalid queries
- TypeScript compile-time checks where possible
- Runtime validation for edge cases
**Acceptance:**
- [ ] Invalid command order detected (e.g., stats before from)
- [ ] Clear error messages with context
- [ ] TypeScript catches type errors
- [ ] Helpful suggestions in errors
0 条评论