@classmethod<EOL><INDENT>def create_group(cls, prefix: str, name: str) -> ErrorGroup:<DEDENT>
group = cls.ErrorGroup(prefix, name)<EOL>cls.groups.append(group)<EOL>return group<EOL>
Create a new error group and return it.