Task prompt · Coding
Explain an error message and fix it
by Agent Yard TeamFrom stack trace to fix.
Use cases
- From stack trace to fix.
- Reuse it as often as you like: fill in the blanks (error; code) with new details and copy again.
- With ChatGPT, Claude, Gemini and more, the AIs that support what this prompt needs.
Featured in: Best Claude prompts for code review and debugging, Best AI prompts for debugging and bug reports.
How to use it
- Open chatgpt.com or claude.ai (or another AI listed here).
- Fill in the highlighted blanks ([ERROR], [CODE]) below, or edit them after pasting.
- Copy the prompt, paste it into the chat and send.
Fill in the blanks (optional)
Prompt
Here's my error and the code around it: [ERROR] [CODE]. Explain what it means in plain words, the most likely cause, and the fix. If more info is needed, tell me what to check.
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.