Exception: Droonga::Catalog::SmallerThanOne

Inherits:
LegacyValidationError show all
Defined in:
lib/droonga/catalog/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, actual, path) ⇒ SmallerThanOne

Returns a new instance of SmallerThanOne.



84
85
86
# File 'lib/droonga/catalog/errors.rb', line 84

def initialize(name, actual, path)
  super("[#{name}] A number 1 or larger is expected, but <#{actual}>", path)
end