In case it isn't obvious, exception classes would typically have several different constants to classify them according to facility, code level, submodule, severity and whatnot. It's not limited to having a specific constant for every error type.
pike-devel@lists.lysator.liu.se