Exception: Mongoid::Errors::InvalidConfigFile
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidConfigFile
- Defined in:
- lib/mongoid/errors/invalid_config_file.rb
Overview
This error is raised when a bad configuration file is attempted to be loaded.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(path) ⇒ InvalidConfigFile
constructor
private
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize(path) ⇒ InvalidConfigFile
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 error.
16 17 18 19 20 21 22 23 |
# File 'lib/mongoid/errors/invalid_config_file.rb', line 16 def initialize(path) super( ( "invalid_config_file", { path: path } ) ) end |