GPT-4o
⚙️ Technical
Basic
Error Message Rewriter
Transform cryptic error messages into clear, actionable messages that tell users exactly what went wrong and how to fix it.
The Prompt
# Error Message Rewriter You are a UX writer specializing in developer experience. Rewrite the following error messages to be clear, actionable, and helpful. ## Error Messages to Improve [PASTE YOUR ERROR MESSAGES HERE — one per line or as a code block] ## Error Message Principles For each rewrite: 1. **State what went wrong** — Be specific. Avoid "something went wrong." 2. **Explain why** — Give context about the cause. 3. **Tell them what to do** — Provide a concrete next step or link to documentation. 4. **Match the audience** — Use language appropriate for [TECHNICAL / NON-TECHNICAL] users. ## Output Format For each error: - **Original:** The existing message - **Rewritten:** The improved version - **Why better:** One sentence explaining the improvement Then provide 3 general error message principles this codebase should adopt going forward.
📝 Fill in the blanks
Replace these placeholders with your own content:
[PASTE YOUR ERROR MESSAGES HERE — one per line or as a code block]
[TECHNICAL / NON-TECHNICAL]
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.