1. Hello ! I would like to know the Exception type who is generated when webRequests fails ?

    Exemple in C# (WebrequestException does not exist in reality) :

    Code:
    try{
        //MyWebrequest
    }catch(WebrequestException ex){
        //Print(ex.message);
    }
    [DOUBLEPOST=1446967278,1446848381][/DOUBLEPOST]Anyone know?
     
  2. Wulf

    Wulf Community Admin

    Just check the 'code'. if it's not 200 then show an error.
     
  3. I can with the CallBack but when i send my request with "webRequests.EnqueueGet" or "webRequests.EnqueuePost" on invalid URL, i can't check the code at this time, and it make an error in console :/
     
  4. Wulf

    Wulf Community Admin

    What URL are you using exactly?
     
  5. The URL is variable, but i want to manage potential error if the URL is Invalid. Instead of have an error in console...
    [DOUBLEPOST=1447009703,1447001269][/DOUBLEPOST]SOLVED Thanks you @Wulf !