Class Mongo::Auth::InvalidMechanism
In: lib/mongo/auth.rb
Parent: RuntimeError

Raised when trying to get an invalid authorization mechanism.

@since 2.0.0

Methods

new  

Public Class methods

Instantiate the new error.

@example Instantiate the error.

  Mongo::Auth::InvalidMechanism.new(:test)

@param [ Symbol ] mechanism The provided mechanism.

@since 2.0.0

[Validate]