summaryrefslogtreecommitdiff
path: root/internal/errors
AgeCommit message (Collapse)Author
2025-06-19Add comprehensive documentation across DTail codebasePaul Buetow
Documented all major Go packages and command-line tools with comprehensive comments explaining functionality, architecture, and usage patterns. Major documentation additions: - All cmd/ binaries with detailed package descriptions and main function docs - Core internal packages: config, protocol, clients, server, mapr, discovery - File system operations, error handling, and version management - Complete API documentation for all public interfaces - Architecture insights and component relationships Benefits: - Improved developer onboarding and maintainability - Clear understanding of distributed architecture - Proper Go documentation format for godoc compatibility - Enhanced troubleshooting through error categorization - Comprehensive API reference for all client types 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19Implement Phase 1: Foundation for improved maintainability and testabilityPaul Buetow
- Add standardized error handling package (internal/errors) - Sentinel errors for common conditions - Error wrapping and chaining support - MultiError for batch operations - Add comprehensive test utilities package (internal/testutil) - File/directory test helpers - Assertion functions for common test patterns - Mock SSH server for integration testing - Test data generators - Add unit tests for core packages - Protocol package: delimiter validation and usage tests - Config package: comprehensive configuration tests - Discovery package: server discovery method tests - IO/FS package: stats tracking and grep processor tests All tests passing. This establishes a solid foundation for further improvements. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>