pub fn category(code: &str) -> &str
The category segment of a code (the part between the first two dots), e.g. "types" for "bynk.types.type_mismatch".
"types"
"bynk.types.type_mismatch"