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