error_type
typedef enum error_type {BAD_ERROR, DUP_ERROR, REQ_ERROR} error_type_t;
error_type(int severity)