Exception: Mongoid::Errors::NoMapReduceOutput
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::NoMapReduceOutput
- Defined in:
- lib/mongoid/errors/no_map_reduce_output.rb
Overview
Raised when executing a map/reduce without specifying the output location.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(command) ⇒ NoMapReduceOutput
constructor
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize(command) ⇒ NoMapReduceOutput
Create the new error.
17 18 19 20 21 |
# File 'lib/mongoid/errors/no_map_reduce_output.rb', line 17 def initialize(command) super( ("no_map_reduce_output", { command: command }) ) end |