Exception: Chewy::UndefinedUpdateStrategy

Inherits:
Error
  • Object
show all
Defined in:
lib/chewy/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(_type) ⇒ UndefinedUpdateStrategy

Returns a new instance of UndefinedUpdateStrategy.



9
10
11
12
13
14
# File 'lib/chewy/errors.rb', line 9

def initialize(_type)
  super("  Index update strategy is undefined for current context.\n  Please wrap your code with `Chewy.strategy(:strategy_name) block.`\n  MESSAGE\nend\n")