πΒ How to Write Error Messages
A good error message has three parts: The problem β explains that an error has happened; The cause β explains what caused the problem; The solution β explains how to overcome the problem. After you ensure your message contains all these three parts, its time to review it. You need to edit it to ensure it: Is user centred β avoid jargon and words your audience will have an hard time understanding; Is direct β as William Strunk said, βPut statements in positive form....