Error Message Text - Best Practices

前端 未结 12 877
北恋
北恋 2021-01-02 03:22

We are changing some of the text for our old, badly written error messages. What are some resources for best practices on writing good error messages (specifically for Wind

12条回答
  •  天命终不由人
    2021-01-02 04:00

    The ultimate best practice is to prevent the user from causing errors in the first place.

    Don't tell users anything they don't care about; error code 5064 doesn't mean a thing to anyone. Don't tell them they did something wrong; disallow it in the first place. Don't blame them, especially not for mistakes your software made. Above all, when there is a problem, tell them how to fix it so they can move on and get some work done.

提交回复
热议问题