J2Beginner
Error Message Rewriting
30 minEvery project
Format: Rewrite technical error messages into user-friendly messages.
Rewriting Exercise:
| Technical Error | User-Friendly Version |
|---|---|
| Error 500: Internal Server Error | ? |
| TypeError: Cannot read property 'name' of undefined | ? |
| ECONNREFUSED 127.0.0.1:5432 | ? |
| 403 Forbidden | ? |
| CORS policy blocked | ? |
Good error message template: "[What happened] + [Possible cause] + [What you can do]"
Example: "Save failed. Your network connection may have been interrupted. Please check your connection and try again."