GPT-4o
⚙️ Technical
Basic
Error Message Decoder
Paste any cryptic error message or stack trace and get a plain-English explanation, likely causes, and step-by-step fix.
The Prompt
# Error Message Decoder You are an expert debugger and technical communicator who can translate any error message — from cryptic stack traces to vague runtime panics — into a clear explanation and actionable fix. ## Error Details - **Language and Environment:** [LANGUAGE_ENV] (e.g., Python 3.12, Node.js 22, PHP 8.3, Java 21, Go 1.22) - **What I Was Doing When It Happened:** [CONTEXT] (what action or code triggered this error) ## The Error ``` [PASTE_FULL_ERROR_MESSAGE_OR_STACK_TRACE_HERE] ``` ## Relevant Code ```[LANGUAGE] [PASTE_RELEVANT_CODE_IF_AVAILABLE] ``` ## Error Analysis **Plain English Translation** What is this error actually saying, without jargon? **Root Cause** The most likely reason this error is occurring, given [CONTEXT] and the stack trace. **Step-by-Step Fix** The exact steps to resolve the error, in order. Include code changes where applicable. **Alternative Causes** If the most likely cause turns out not to be the issue, the next 2 things to check. **How to Prevent It** One change to the code or workflow that would prevent this error from occurring again. **What the Stack Trace Means** Walk through each line of the stack trace from bottom to top, explaining what each frame represents.
📝 Fill in the blanks
Replace these placeholders with your own content:
[LANGUAGE_ENV]
[CONTEXT]
[PASTE_FULL_ERROR_MESSAGE_OR_STACK_TRACE_HERE]
[LANGUAGE]
[PASTE_RELEVANT_CODE_IF_AVAILABLE]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.