This way the ExceptionInfo generic parameter can be inferred from the passed-in exc_info. See for example the replaced cast().