Error Message Explainer
Understand and fix error messages from any language or tool
codingdebuggingerrorstroubleshooting
Prompt Template
Explain this error and help me fix it:
**Error**: {error}
**Context**: {context}
**Language/Tool**: {language}
Please:
1. Explain what this error means in plain English
2. List the most common causes
3. Provide the most likely fix
4. Show how to prevent it in the futureVariables
{error}Example: TypeError: Cannot read properties of undefined (reading 'map')
{context}Example: Rendering a list of users fetched from API
{language}Example: React/TypeScript
Example Output
## What This Means You're trying to call `.map()` on a value that is `undefined`...
Tips
- Include the full stack trace
- Describe what you were doing when it happened