Next up, error messages, one of the most important components to considerwhen creating interface text, purely because of its potential to unnervethe user. A well-written error message should cover three bases:
Validation errors occur due to incorrect data entry by the user, andtherefore, the error message needs to essentially point out the input fieldwhere the error occurred and how to correct it. In an online expense claimsystem, for example, if a user enters an amount claim that exceeds histotal permissible expenses, a validation error would occur, and thefollowing message would be generated: "Your expense claim cannot be greaterthan your total permissible claim. Please re-enter your expense claim." An exception, on the other hand, occurs due to a back-end problem - forexample, the database has missing data or a resource cannot be found.Typically, these are internal errors beyond the control of the user, andthe error message should reflect this, essentially asking the user tocontact a more technically-astute administrator to identify and rectify theproblem. Some things to keep in mind with respect to exception messages:
Your other option is to write specific messages, like the message for claimexpenses above. You will need to write these for validations that are *not*common across the application. In practice, you will nearly always end upwith a combination of these two approaches. The thing to be sensitive tohere is that you should not have an overlap between the two approaches -that is, you should not be writing a specific message for a situation wherethe generic one will suffice.
blog comments powered by Disqus |