Exception: Mongoid::Errors::InvalidStorageOptions
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidStorageOptions
- Defined in:
- build/mongoid-7.3/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.
19 20 21 22 23 24 25 26 |
# File 'build/mongoid-7.3/lib/mongoid/errors/invalid_storage_options.rb', line 19 def initialize(klass, ) super( ( "invalid_storage_options", { klass: klass, options: } ) ) end |