Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://436605]
[marto]: good morning all

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2018-01-19 10:23 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (217 votes). Check out past polls.