Add ErrorCode.Class()

This returns the "class" of an error, which supports Name() to get the
"condition name".