This callback is invoked when the engine is about to display an error web page because the web
server sends an empty HTTP response with the HTTP status code that represents an error.
This callback is invoked when the engine is about to display a network error web page because the
required web resource cannot be loaded because of a network error.