class Mongo::Error::InsufficientIterationCount
Exception that is raised when trying to create a database with no name.
@since 2.6.0
Public Class Methods
message(required_count, given_count)
click to toggle source
# File lib/mongo/error/insufficient_iteration_count.rb, line 33 def self.message(required_count, given_count) "This auth mechanism requires an iteration count of #{required_count}, but the server only requested #{given_count}" end
new(msg)
click to toggle source
Instantiate the new exception.
@example Instantiate the exception.
Mongo::Error::InvalidDatabaseName.new
@since 2.6.0
Calls superclass method
Mongo::Error::new
# File lib/mongo/error/insufficient_iteration_count.rb, line 29 def initialize(msg) super(msg) end