Class: Mongo::Error::InvalidConfigOption
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/invalid_config_option.rb |
Overview
This error is raised when a bad configuration option is attempted to be set.
Class Method Summary
-
.new(name) ⇒ InvalidConfigOption
constructor
Internal use only
Create the new error.
Constructor Details
.new(name) ⇒ InvalidConfigOption
Create the new error.
# File 'lib/mongo/error/invalid_config_option.rb', line 13
def initialize(name) super("Invalid config option #{name}.") end