Https time out error

Hi There,

May be a stupid question but I can't seem to find an answer from the internet as such.

When the Sphinx server is not running I get a time out error which is quite acceptable. However, I would like to give better comments back to the user when the e.exception is triggered. But I don't see how to set an if statement when the error code in the e.message is 12002. How can I trap those errors and send a better error message.

Regards

Tom

In which situation exactly you want to trap exceptions? You mentioned Sphinx, are you talking about when the browser opens? Or when you are using THttpClient? Or TSphinxLogin component? Please give me some context so we can guide you better.