Exception: Mongoid::Errors::NoEnvironment
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::NoEnvironment
- Defined in:
- build/mongoid-7.3/lib/mongoid/errors/no_environment.rb
Overview
Raised when trying to load configuration with no RACK_ENV set
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize ⇒ NoEnvironment
constructor
Create the new no environment error.
Methods inherited from MongoidError
Constructor Details
#initialize ⇒ NoEnvironment
Create the new no environment error.
16 17 18 |
# File 'build/mongoid-7.3/lib/mongoid/errors/no_environment.rb', line 16 def initialize super(("no_environment", {})) end |