gcc-rest.js
function(response) {
        this.console.error('Server responded with error:');
        this.console.error('Status', response.statusCode);
        this.console.error('Headers', response.headers);
        response.on('data', function(chunk) {
            this.console.info('Body', chunk);
        }.bind(this));
        this._errCallback('server_error', response);
    }
function(response) {
        this.console.error('Server responded with error:');
        this.console.error('Status', response.statusCode);
        this.console.error('Headers', response.headers);
        response.on('data', function(chunk) {
            this.console.info('Body', chunk);
        }.bind(this));
        this._errCallback('server_error', response);
    }
function ( response ) { this . console . error ( 'Server responded with error:' ) ; this . console . error ( 'Status' , response . statusCode ) ; this . console . error ( 'Headers' , response . headers ) ; response . on ( 'data' , function ( chunk ) { this . console . info ( 'Body' , chunk ) ; } . bind ( this ) ) ; this . _errCallback ( 'server_error' , response ) ; }
Handle a failed compile request response.
@param {ServerResponse} response
@private
Handle a failed compile request response .