ajaxErrorHTML can also be a function that returns an HTML string.
ajaxErrorHTML
In this example, our buggy.php script is acting strange and returning invalid JSON and long response times.