Hello ! I would like to know the Exception type who is generated when webRequests fails ?
Exemple in C# (WebrequestException does not exist in reality) :
[DOUBLEPOST=1446967278,1446848381][/DOUBLEPOST]Anyone know?Code:try{ //MyWebrequest }catch(WebrequestException ex){ //Print(ex.message); }
Solved WebRequests -> catch(Exception ex)
Discussion in 'Rust Discussion' started by UnderFawkes, Nov 8, 2015.
-
Wulf Community Admin
Just check the 'code'. if it's not 200 then show an error.
-
-
Wulf Community Admin
-
[DOUBLEPOST=1447009703,1447001269][/DOUBLEPOST]SOLVED Thanks you @Wulf !