Exception: Spree::Core::Search::Base::InvalidOptions

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/spree/core/search/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(option) ⇒ InvalidOptions

Returns a new instance of InvalidOptions.


8
9
10
# File 'lib/spree/core/search/base.rb', line 8

def initialize(option)
  super("Invalid option passed to the searcher: '#{option}'")
end