Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Don't use negative numbers for error codes

· 9 comments · 250 words · Viewed ~2,176 times


A warning to programmers - try to understand how people will use your error codes. This morning, I was confronted with a rather bemusing error message on my WordPress blog: Ok, so this should "never happen" and yet somehow it has. I wonder what on earth the error code means? I selected the error code and Googled it! I just copied and pasted the error message into Google and got back a set …