def METHOD_NAME(e: Any) -> Iterable[Exception]:
    et_name = type(e).__name__
    if et_name in _seen:
        return
    _seen.add(et_name)
    yield RuntimeError(f"Unhandled event {repr(type(e))}: {e}")