Exception: Mongoid::Errors::UnrecognizedResolver
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::UnrecognizedResolver
- Defined in:
- lib/mongoid/errors/unrecognized_resolver.rb
Overview
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(resolver) ⇒ UnrecognizedResolver
constructor
A new instance of UnrecognizedResolver.
Methods inherited from MongoidError
Constructor Details
#initialize(resolver) ⇒ UnrecognizedResolver
Returns a new instance of UnrecognizedResolver.
16 17 18 19 20 21 22 23 24 |
# File 'lib/mongoid/errors/unrecognized_resolver.rb', line 16 def initialize(resolver) super( ( 'unrecognized_resolver', resolver: resolver.inspect, resolvers: [ :default, *Mongoid::ModelResolver.resolvers.keys ].inspect ) ) end |