renamed error_types to error_type