How to modify the "BlueprintPure" return value name?

How to modify the “BlueprintPure” return value name?

I create a function :

UFUNCTION(BlueprintCallable, BlueprintPure, Category = "BaseNetworkMgr")
int GetInt();

226943-p1.png

UFUNCTION(BlueprintCallable, BlueprintPure, Category = “BaseNetworkMgr”)
void GetInt(int& MyInt);

Then instead of return x; you do MyInt = x;

It work , thank you

Do you know how to catch the exception? (cry)