public static LokiPoe.InGameState.ResurrectResult LokiPoe.InGameState.ResurrectPanel.Resurrect()
Click the resurrect button. PLS NOTE as of POE2 there is only 1 rez button and its text change from Resurrect in Town, to Resurrect at checkpoint etc etc.
Returns: ResurrectResult.None on success, or the relative error.