mongodb-js-errors
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -107,2 +107,4 @@ /* eslint camelcase:0, complexity: 1 */ | ||
err = boom.serverTimeout('Too many connections to MongoDB'); | ||
} else if (/operation exceeded time limit/.test(msg)) { | ||
err = boom.serverTimeout('Operation exceeded the specified time limit'); | ||
} else if (/connect ECONNREFUSED/.test(msg)) { | ||
@@ -109,0 +111,0 @@ err = boom.notFound('MongoDB not running'); |
{ | ||
"name": "mongodb-js-errors", | ||
"description": "Helpers for handling errors from the MongoDB driver.", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "fmt": "mongodb-js-fmt ./*.js test/*.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17760
142