I suggest to move the strings directly into the Status enum (like we do for cache sizes and similar enums). That way you are forced by the compiler to always have the strings and enum entries in sync and don't even have to think about the default case of this switch claus.