I have been working on a project which involves sending HTTP request. I want to add Exception handling when the HTTP request fails. How do I go about adding it? I tried adding try{}catch(){}, but getting an error saying exception handling disabled, please use -fexceptions to enable
Any help on the same will be appreciated.