Default HTML response

I’m trying to modify the default HTML response for an HTTP request made to IS.
I know we can use the setResponse but if my Traiding Partner type the wrong URL (like http://localhost:5555/invoke/, or the service invoked crash, IS return the pipeline as an HTML response. How can I modify that “default” response?