def IncrementErrorCount(self, category):
self.error_count += <NUM_LIT:1><EOL>if self.counting in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>if self.counting != '<STR_LIT>':<EOL><INDENT>category = category.split('<STR_LIT:/>')[<NUM_LIT:0>]<EOL><DEDENT>if category not in self.errors_by_category:<EOL><INDENT>self.errors_by_category[category] = <NUM_LIT:0><EOL><DEDENT>self.errors_by_category[category] += <NUM_LIT:1><EOL><DEDENT>
Bumps the module's error statistic.