Class: Mongo::Error::InvalidConfigOption
- Inherits:
-
Error
- Object
- Error
- Mongo::Error::InvalidConfigOption
- Defined in:
- lib/mongo/error/invalid_config_option.rb
Overview
This error is raised when a bad configuration option is attempted to be set.
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidConfigOption
constructor
private
Create the new error.
Constructor Details
#initialize(name) ⇒ InvalidConfigOption
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.
13 14 15 |
# File 'lib/mongo/error/invalid_config_option.rb', line 13 def initialize(name) super("Invalid config option #{name}.") end |