class Mongoid::Errors::DropCollectionFailure
Raised when an attempt to drop a collection failed.
Public Class Methods
new(collection_name, collection_options, error)
click to toggle source
Instantiate the drop collection error.
@param [ String ] collection_name The name of the collection that
Mongoid failed to drop.
@api private
Calls superclass method
# File lib/mongoid/errors/drop_collection_failure.rb, line 16 def initialize(collection_name, collection_options, error) super( compose_message( "drop_collection_failure", { collection_name: collection_name } ) ) end