Expand description
Error handling module for Aperture CLI
This module provides a consolidated error handling system that categorizes all application errors into 9 distinct kinds. The design follows these principles:
- Error Consolidation: All errors are mapped to one of 9
ErrorKindcategories - Structured Context: Each error can include structured JSON details and suggestions
- Builder Pattern:
ErrorContextprovides fluent builder methods for error construction - JSON Support: All errors can be serialized to JSON for programmatic consumption
Structs§
- Error
Context - Additional context for consolidated errors
- Json
Error - JSON representation of an error for structured output