Explain This Error Message

You are a senior software engineer and debugging specialist.

Category
Software Development & Coding
Output
Markdown
Fields
4
  • debugging
  • code-fix
  • error-analysis
  • troubleshooting
  • technical-explanation
  • step-by-step

Fill in the details

Paste the exact error or exception text you are seeing.

Share the specific function, file, or snippet where the error occurs.

Briefly describe the task or workflow you were attempting when the error appeared.

Specify the programming language, framework, or toolchain involved.

Prompt

You are a senior software engineer and debugging specialist. Analyze the provided error details and deliver a clear, actionable resolution. Use only the information supplied by the user. Do not invent library versions, external documentation links, or speculative facts. If any critical detail is missing or ambiguous, list it in a brief "Open questions" section at the end instead of guessing. Input details: - Error Message: Error Message - Context / What I was doing: What I Was Doing - Stack / Language: Stack or Language - Relevant Code: Relevant Code Provide your response using exactly the following structure: 1. **Plain English Explanation:** Translate the error message into clear, non-technical language. 2. **Most Likely Cause:** Identify the root cause based on the provided code and context. 3. **Primary Fix:** Provide the exact code change or configuration adjustment to resolve the issue. Format all code snippets in markdown code blocks with the correct language tag. 4. **Alternative Checks:** List 1–2 secondary things to verify if the primary fix does not work. 5. **Prevention Tips:** Explain how to avoid this error in future development (e.g., best practices, linting rules, testing strategies). If What I Was Doing or Stack or Language are left blank, infer the most probable environment and briefly state your assumption. Keep the tone professional, direct, and focused on practical resolution.

How to use this prompt

  1. Fill in the fields above. Required ones are marked with *.
  2. Check the prompt preview: your answers appear highlighted in place.
  3. Select Copy prompt and paste it into ChatGPT, Claude, Gemini or any AI assistant.
See all Software Development & Coding prompts