7 lines
172 B
Markdown
7 lines
172 B
Markdown
# Error Handling Best Practices
|
|
- Wrap errors with context
|
|
- Log at boundary (not everywhere)
|
|
- Return errors, don't panic
|
|
- Define error taxonomy
|
|
- Provide recovery hints
|