public/javascripts/yui/datasource/datasource-debug.js
function(oResponse) {
        this.fireEvent("dataErrorEvent", {request:oRequest, response: oResponse,
                callback:oCallback, caller:oCaller,
                message:DS.ERROR_DATAINVALID});
        YAHOO.log(DS.ERROR_DATAINVALID + ": " +
                oResponse.statusText, "error", this.toString());

        // Backward compatibility
        if(lang.isString(this.liveData) && lang.isString(oRequest) &&
            (this.liveData.lastIndexOf("?") !== this.liveData.length-1) &&
            (oRequest.indexOf("?") !== 0)){
                YAHOO.log("DataSources using XHR no longer automatically supply " + 
                "a \"?\" between the host and query parameters" +
                " -- please check that the request URL is correct", "warn", this.toString());
        }

        // Send failure response back to the caller with the error flag on
        oResponse = oResponse || {};
        oResponse.error = true;
        DS.issueCallback(oCallback,[oRequest,oResponse],true, oCaller);

        return null;
    }
function(oResponse) {
        this.fireEvent("dataErrorEvent", {request:oRequest, response: oResponse,
                callback:oCallback, caller:oCaller,
                message:DS.ERROR_DATAINVALID});
        YAHOO.log(DS.ERROR_DATAINVALID + ": " +
                oResponse.statusText, "error", this.toString());

        // Backward compatibility
        if(lang.isString(this.liveData) && lang.isString(oRequest) &&
            (this.liveData.lastIndexOf("?") !== this.liveData.length-1) &&
            (oRequest.indexOf("?") !== 0)){
                YAHOO.log("DataSources using XHR no longer automatically supply " + 
                "a \"?\" between the host and query parameters" +
                " -- please check that the request URL is correct", "warn", this.toString());
        }

        // Send failure response back to the caller with the error flag on
        oResponse = oResponse || {};
        oResponse.error = true;
        DS.issueCallback(oCallback,[oRequest,oResponse],true, oCaller);

        return null;
    }
function ( oResponse ) { this . fireEvent ( "dataErrorEvent" , { request : oRequest , response : oResponse , callback : oCallback , caller : oCaller , message : DS . ERROR_DATAINVALID } ) ; YAHOO . log ( DS . ERROR_DATAINVALID + ": " + oResponse . statusText , "error" , this . toString ( ) ) ; // Backward compatibility if ( lang . isString ( this . liveData ) && lang . isString ( oRequest ) && ( this . liveData . lastIndexOf ( "?" ) !== this . liveData . length - 1 ) && ( oRequest . indexOf ( "?" ) !== 0 ) ) { YAHOO . log ( "DataSources using XHR no longer automatically supply " + "a \"?\" between the host and query parameters" + " -- please check that the request URL is correct" , "warn" , this . toString ( ) ) ; } // Send failure response back to the caller with the error flag on oResponse = oResponse || { } ; oResponse . error = true ; DS . issueCallback ( oCallback , [ oRequest , oResponse ] , true , oCaller ) ; return null ; }
Define Connection Manager failure handler

@method _xhrFailure
@param oResponse {Object} HTTPXMLRequest object
@private
Define Connection Manager failure handler