Exception: Mongoid::Errors::InvalidStorageOptions
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidStorageOptions
- Defined in:
- lib/mongoid/errors/invalid_storage_options.rb
Overview
Raised when options provided to :store_in are invalid.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(klass, options) ⇒ InvalidStorageOptions
constructor
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize(klass, options) ⇒ InvalidStorageOptions
Create the new error.
17 18 19 20 21 22 23 24 |
# File 'lib/mongoid/errors/invalid_storage_options.rb', line 17 def initialize(klass, ) super( ( "invalid_storage_options", { klass: klass, options: } ) ) end |