winston.doAzureError = function(azureErr, extraInput, res) { winston.handleError( winston.makeAzureError(azureErr, extraInput, 5), res ); }
winston.doElasticSearchError = function(esErr, extraInput, res) { winston.handleError( winston.makeElasticSearchError(esErr, extraInput, 5), res ); }
winston.doS3Error = function(s3Err, extraInput, res) { winston.handleError( winston.makeS3Error(s3Err, extraInput, 5), res ); }
winston.doMissingParamError = function(paramName, extraInput, res) { winston.handleError( winston.makeMissingParamError(paramName, extraInput, 5), res ); }
winston.doMongoError = function(mongoErr, extraInput, res) { winston.handleError( winston.makeMongoError(mongoErr, extraInput, 5), res ); }
winston.doResponseError = function(res, log, responseCode, userMessage, extraInput) { winston.handleError( winston.makeResponseError(log, responseCode, userMessage, extraInput, 4), res ); }
winston.doError = function(log, extraInput, res) { winston.handleError( winston.makeError(log, extraInput, 3), res ); }