Exception: Samvera::NestingIndexer::Exceptions::SolrKeyConfigurationError
- Inherits:
-
ConfigurationError
- Object
- RuntimeError
- RuntimeError
- ConfigurationError
- Samvera::NestingIndexer::Exceptions::SolrKeyConfigurationError
- Defined in:
- lib/samvera/nesting_indexer/exceptions.rb
Overview
Danger, the SolrKey may not be configured correctly.
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:, config:) ⇒ SolrKeyConfigurationError
constructor
A new instance of SolrKeyConfigurationError.
Constructor Details
#initialize(name:, config:) ⇒ SolrKeyConfigurationError
Returns a new instance of SolrKeyConfigurationError.
14 15 16 17 18 |
# File 'lib/samvera/nesting_indexer/exceptions.rb', line 14 def initialize(name:, config:) @name = name @config = config super "Expected #{name.inspect} to be set in Config #{config.inspect}" end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
13 14 15 |
# File 'lib/samvera/nesting_indexer/exceptions.rb', line 13 def config @config end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
13 14 15 |
# File 'lib/samvera/nesting_indexer/exceptions.rb', line 13 def name @name end |