async def dump_variant(self, elem, elem_type=None, params=None, obj=None):
raise helpers.ArchiveException('<STR_LIT>')<EOL>
Dumps variant type to the writer.
Supports both wrapped and raw variant.

:param elem:
:param elem_type:
:param params:
:param obj:
:return: