This commit is contained in:
Raul Ochoa
2015-09-16 02:49:18 +02:00
parent 62f428f434
commit 66f94d9452
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -515,6 +515,7 @@ function findStatusCode(err) {
}
return statusCode;
}
module.exports.findStatusCode = findStatusCode;
function statusFromErrorMessage(errMsg) {
// Find an appropriate statusCode based on message