Exception: Mongoid::Errors::EmptyConfigFile
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::EmptyConfigFile
- Defined in:
- lib/mongoid/errors/empty_config_file.rb
Overview
This error is raised when an empty 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) ⇒ EmptyConfigFile
constructor
private
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize(path) ⇒ EmptyConfigFile
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/empty_config_file.rb', line 16 def initialize(path) super( ( "empty_config_file", { path: path } ) ) end |