pub fn classify_error(err: &dyn Error) -> &'static str
Classify an error into a dot-separated error code by inspecting its message.