Invoke _onError() when AJAX request throws exception