52 lines
720 B
Markdown
52 lines
720 B
Markdown
|
|
# Error Handling
|
||
|
|
|
||
|
|
> How errors are handled in this project.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Overview
|
||
|
|
|
||
|
|
<!--
|
||
|
|
Document your project's error handling conventions here.
|
||
|
|
|
||
|
|
Questions to answer:
|
||
|
|
- What error types do you define?
|
||
|
|
- How are errors propagated?
|
||
|
|
- How are errors logged?
|
||
|
|
- How are errors returned to clients?
|
||
|
|
-->
|
||
|
|
|
||
|
|
(To be filled by the team)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Error Types
|
||
|
|
|
||
|
|
<!-- Custom error classes/types -->
|
||
|
|
|
||
|
|
(To be filled by the team)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Error Handling Patterns
|
||
|
|
|
||
|
|
<!-- Try-catch patterns, error propagation -->
|
||
|
|
|
||
|
|
(To be filled by the team)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## API Error Responses
|
||
|
|
|
||
|
|
<!-- Standard error response format -->
|
||
|
|
|
||
|
|
(To be filled by the team)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Common Mistakes
|
||
|
|
|
||
|
|
<!-- Error handling mistakes your team has made -->
|
||
|
|
|
||
|
|
(To be filled by the team)
|