(value: NoReturn)
Enable exhaustiveness checking when comparing against enums and unions
    of literals.
Enable exhaustiveness checking when comparing against enums and unions
    of literals.
Enable exhaustiveness checking when comparing against enums and unions of literals .
def assert_never(value: NoReturn) -> NoReturn:
    """
    Enable exhaustiveness checking when comparing against enums and unions
    of literals.
    """
    raise Exception(f"expected never, got {value}")
def assert_never ( value : NoReturn ) -> NoReturn : raise Exception ( f"expected never, got {value}" )