Perl: the Markov chain saw | |
PerlMonks |
Re: Style guide for error messages?by danb (Friar) |
on Sep 21, 2005 at 22:21 UTC ( [id://493988]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Meditations
|
|