rethinkdbdash
Advanced tools
Comparing version 2.3.24 to 2.3.25
@@ -148,3 +148,3 @@ var net = require('net'); | ||
self.open = false; | ||
reject(new Err.ReqlDriverError('Failed to perform handshake with '+self.host+':'+self.port)); | ||
reject(new Err.ReqlDriverError('Failed to perform handshake with '+self.host+':'+self.port).setOperational()); | ||
}); | ||
@@ -172,3 +172,3 @@ }); | ||
self._abort(); | ||
reject(new Err.ReqlDriverError('Could not parse the message sent by the server : \''+messageServerStr+'\'')); | ||
reject(new Err.ReqlDriverError('Could not parse the message sent by the server : \''+messageServerStr+'\'').setOperational()); | ||
return; | ||
@@ -178,3 +178,3 @@ } | ||
self._abort(); | ||
reject(new Err.ReqlDriverError('Error '+messageServer.error_code+':'+messageServer.error)); | ||
reject(new Err.ReqlDriverError('Error '+messageServer.error_code+':'+messageServer.error).setOperational()); | ||
return; | ||
@@ -229,3 +229,3 @@ } | ||
this._abort(); | ||
reject(new Err.ReqlDriverError('Unsupported protocol version: '+PROTOCOL_VERSION+', expected between '+minVersion+' and '+ maxVersion)); | ||
reject(new Err.ReqlDriverError('Unsupported protocol version: '+PROTOCOL_VERSION+', expected between '+minVersion+' and '+ maxVersion).setOperational()); | ||
} | ||
@@ -245,3 +245,3 @@ this.state = 1; | ||
self._abort(); | ||
reject(new Err.ReqlDriverError('Invalid nonce from server')); | ||
reject(new Err.ReqlDriverError('Invalid nonce from server').setOperational()); | ||
} | ||
@@ -258,3 +258,3 @@ | ||
self.open = false; | ||
reject(new Err.ReqlDriverError('Failed to perform handshake with '+self.host+':'+self.port)); | ||
reject(new Err.ReqlDriverError('Failed to perform handshake with '+self.host+':'+self.port).setOperational()); | ||
}); | ||
@@ -265,3 +265,3 @@ } else { | ||
self._abort(); | ||
reject(new Err.ReqlDriverError('Could not derive the key. Error:' + error.toString())); | ||
reject(new Err.ReqlDriverError('Could not derive the key. Error:' + error.toString()).setOperational()); | ||
} | ||
@@ -275,3 +275,3 @@ CACHE_PBKDF2[cacheKey] = saltedPassword; | ||
self.open = false; | ||
reject(new Err.ReqlDriverError('Failed to perform handshake with '+self.host+':'+self.port)); | ||
reject(new Err.ReqlDriverError('Failed to perform handshake with '+self.host+':'+self.port).setOperational()); | ||
}); | ||
@@ -311,3 +311,3 @@ }) | ||
if (!helper.compareDigest(serverSignatureValue, self.serverSignature.toString("base64"))) { | ||
reject(new Err.ReqlDriverError('Invalid server signature')); | ||
reject(new Err.ReqlDriverError('Invalid server signature').setOperational()); | ||
} | ||
@@ -330,3 +330,3 @@ | ||
self.emit('error', new Err.ReqlDriverError( | ||
'Could not ping the connection')); | ||
'Could not ping the connection').setOperational()); | ||
self.open = false; | ||
@@ -522,3 +522,3 @@ self.connection.end(); | ||
else { | ||
currentReject(new Err.ReqlDriverError('Unknown ResponseNote '+response.n[i]+', the driver is probably out of date.')); | ||
currentReject(new Err.ReqlDriverError('Unknown ResponseNote '+response.n[i]+', the driver is probably out of date.').setOperational()); | ||
return; | ||
@@ -525,0 +525,0 @@ } |
{ | ||
"name": "rethinkdbdash", | ||
"version": "2.3.24", | ||
"version": "2.3.25", | ||
"description": "A Node.js driver for RethinkDB with promises and a connection pool", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.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
837986