Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Style guide for error messages?

by danb (Friar)
on Sep 21, 2005 at 22:21 UTC ( #493988=note: print w/ replies, xml ) Need Help??


in reply to Style guide for error messages?

If you use something like Log::Log4Perl, then it can do some of the things you mentioned automatically (prefixes, line numbers).

Where appropriate, I think that hints should be included in the error messages. For example, Error: Incorrect password.  Hint: Are you sure your Caps Lock is turned off?

--Dan


Comment on Re: Style guide for error messages?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://493988]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-07-28 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (210 votes), past polls