Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Useless/Interesting Error Messages

by legato (Monk)
on Mar 04, 2005 at 15:36 UTC ( #436605=note: print w/ replies, xml ) Need Help??


in reply to Useless/Interesting Error Messages

I have two favorites:

  1. In Linux, in single-user mode, the login system isn't working. Therefore, when you try to use logout or exit, you get:
    You don't exist. Go Away.
  2. I can't remember where this one occurred, as I've only seen it once. The app did error messages like 'Error 0x0A : bad usage' or something. I got this once:
    Error 0xDEADBEEF : Unknown fatal error

I've always enjoyed clever or amusing error messages, and I try to include them in my code. The problem is, I'm neither clever nor amusing. My best message is probably in code that intelligently guesses what certain data should be -- since it is a guess, I needed to warn (and log) that such data could be inaccurate. Phrasing failed me, until I came up with this (now in production code):

Unable to find valid source data: pulling it from my ass.

I love working for small shops... ;-)

Anima Legato
.oO all things connect through the motion of the mind


Comment on Re: Useless/Interesting Error Messages
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://436605]
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: (15)
As of 2014-09-17 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (88 votes), past polls