How about standard Error Codes?

log on to your favorite unix box and look at /usr/include/sys/errno.h . Then look up the perror() function.

Unix has been doing it this way for years. Works quite well. I'll be some form of errno.h and perror() would work out well for the arduino, too.

-j