Handle errors correctly in code
m06-error-handlingskillsetup L1★12
k1-c/linear-tui ↗What it does
Implement standardized error handling patterns
Best for
Ensuring consistent error handling across a codebase without boilerplate.
Inputs
- · Error types
- · Handling strategy
- · Logging level
Outputs
- · Error handler module
- · Usage examples
Preconditions
Error types and handling strategy defined; logging framework in place.
Failure modes
Over-broad catch handlers; swallowed errors; poor error context.
Trust signals
- · Follows industry error handling conventions
- · Prevents silent failures
- · Structured logging