server/response-handler.js
function connectionError(response, message, body) {
  var content = errorContent(ErrorType.connection, message, body);
  send(response, content, StatusCode.badGateway);
}
function connectionError(response, message, body) {
  var content = errorContent(ErrorType.connection, message, body);
  send(response, content, StatusCode.badGateway);
}
function connectionError ( response , message , body ) { var content = errorContent ( ErrorType . connection , message , body ) ; send ( response , content , StatusCode . badGateway ) ; }
Send an connection error response

@param response  - response object
@param message   - (optional) additional error message
@param body      - (optional) additional body to the response
Send an connection error response