Class Mongo::Error::InvalidNonce
In: lib/mongo/error/invalid_nonce.rb
Parent: Error

This exception is raised when the server nonce returned does not match the client nonce sent to it.

@since 2.0.0

Methods

new  

Attributes

nonce  [R]  @return [ String ] nonce The client nonce.
rnonce  [R]  @return [ String ] rnonce The server nonce.

Public Class methods

Instantiate the new exception.

@example Create the exception.

  InvalidNonce.new(nonce, rnonce)

@param [ String ] nonce The client nonce. @param [ String ] rnonce The server nonce.

@since 2.0.0

[Validate]