On desktop, what is the best approach to handle any http errors? Is it simply to add Error event to the HTMLViewer with the code below?
[code]MessageBox(errorMessage)
Return[/code]
Or does it need to be more explicit, such as if error code 404, then message box “this is a bad request man”, elseif error code XXX, then “blah blah”?
Probably my main concern is the user is not connected to the internet, and in my testing, the above did show a message box of “there is no internet connection”. I am using the HTMLViewer to embed YouTube videos and just am curious on the best practices. Thanks!