pub fn class_of(code: &str) -> &str
Returns the 2-character class prefix of a SQLSTATE code.
Returns an empty string if the code is shorter than 2 characters.