mongodb-js-errors
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -64,2 +64,4 @@ /* eslint camelcase:0, complexity: 0 */ | ||
return new Mapping(boom.badImplementation, 'Response from server was too large to process'); | ||
} else if (/no such cmd: top/.test(msg)) { | ||
return new Mapping(boom.badRequest, 'Top command is not available in mongos'); | ||
} | ||
@@ -66,0 +68,0 @@ return null; |
{ | ||
"name": "mongodb-js-errors", | ||
"description": "Helpers for handling errors from the MongoDB driver.", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"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
19272
175