Method: Mongoid::Errors::InvalidQuery#initialize

Defined in:
lib/mongoid/errors/invalid_query.rb

#initialize(msg) ⇒ InvalidQuery

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Create the new invalid query error.



14
15
16
# File 'lib/mongoid/errors/invalid_query.rb', line 14

def initialize(msg)
  super
end