Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Error messages

Name: Anonymous 2007-07-24 11:37 ID:v7H1vz99

I'm at work right now. In this application I'm writing, the error messages are:

- You're doing it WRONG (user data entry failure)
- NO U (for permission denied / caught attempt to fuck with me)
- DO NOT WANT (for internal unexpected errors)
- Fail (other errors)

Name: Anonymous 2007-07-24 11:38 ID:6e4r4Wc0

All should be replaced by this error message.  It works in every situation.

"You can't do that."

Name: Anonymous 2007-07-24 11:41 ID:Heaven

perror(NULL);

Name: Anonymous 2007-07-24 11:47 ID:v7H1vz99

Exceptions are caught at top level and I say something like:

IOError GET!

And of course, if I could have null pointer exceptions, I'd say Nurupo.

Name: Anonymous 2007-07-24 11:49 ID:hkFC5abd

"You can't do that." is good
I'll use that

Name: Anonymous 2007-07-24 11:57 ID:Heaven

#define _(_) #_

int main(...
if(error) return ~*_()

Name: Anonymous 2007-07-24 12:33 ID:gk2+U/T+

I don't use errors, I have more important things to worry about. I just add in documentation that, yes, run time errors do occur and that user shouldn't do again what he did to cause it.

Name: Anonymous 2007-07-24 13:46 ID:hkFC5abd

>>7
haha microsoft employees browsing 4chan

Name: Anonymous 2007-07-24 13:59 ID:fr1zB0iD

>>8
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,

Name: Anonymous 2007-07-24 14:49 ID:ZRjfDj0r

Name: Anonymous 2007-07-24 23:58 ID:r19c7Ojg

>>6
fail.c:3: error: ISO C requires a named argument before '...'
fail.c:4: error: parse error before 'if'

Name: Anonymous 2009-03-06 6:58

employees AS e1 JOIN   employees AS e2   ON e1 chief.

Name: Anonymous 2009-09-17 16:24

Lain.

Name: Anonymous 2009-09-17 16:25

Lain.

Name: Anonymous 2009-09-17 16:25

Lain.

Name: Anonymous 2009-09-17 16:26

Lain.

Name: Anonymous 2009-09-17 16:26

Lain.

Name: Anonymous 2009-09-17 16:27

Lain.

Name: Anonymous 2009-09-17 16:27

Lain.

Name: Anonymous 2010-12-06 9:39

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2011-01-31 20:33

<-- check em dubz

Name: Anonymous 2011-02-02 23:20

Name: Anonymous 2011-02-04 12:22


Don't change these.
Name: Email:
Entire Thread Thread List