You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove redundant error wrapping to prevent message duplication while
maintaining error chains for proper error inspection.
Changes:
- Entry point layer (cmd/): Pass through all errors
- Orchestration layer (deploy/delete/describe/validate): Pass through
errors from lower layers
- Business logic layer (resolve/): Pass through config and file system
errors that already have full context
- Update tests to verify actual error messages from boundary layers
Before: failed to resolve stack dependencies: failed to get stack vpc:
failed to resolve stack 'vpc' for context 'dev': stack 'vpc'
not found in configuration
After: failed to resolve stack 'vpc' for context 'dev': stack 'vpc'
not found in configuration
This implements ADR 0023 layer-based error wrapping strategy.
0 commit comments