Writing Helpful Error Messages | Technical Writing | Google for Developers
This self-study course helps you write clearer, more effective error messages,
whether they appear in IDEs, command lines, or GUIs. While this course contains
lessons for many error message scenarios, the majority of examples and guidance
focus on developer-facing error messages.
https://developers.google.com/tech-writing/error-messages