FAULT_TYPE_MAX
const char * const type_str[FAULT_TYPE_MAX + 1] = {
fault_type = (event->type < FAULT_TYPE_MAX) ? event->type : FAULT_TYPE_MAX;