dialex / start-testing

A crowdsourced testing course, written by testers for testers wannabes.
https://dialex.github.io/start-testing
Creative Commons Attribution 4.0 International
48 stars 7 forks source link

Logging + Error handling #74

Open dialex opened 5 years ago

dialex commented 5 years ago

Related with #17

dialex commented 5 years ago

Every error is an obstacle that gets in the way of what users are trying to do. A reliable system detects unexpected or unwanted events, tries to gracefully recover from them, and finally warns the user about it.

Think carefully about the message, ie. what caused it and who will read it. A good error message helps the user solve the problem and move on. An unhelpful message can mean the difference between continuing or giving up.

Notice that the "user" can be a developer or someone from the customer support.

-- The Art of the Error Message