Exception: Droonga::Catalog::NegativeNumber

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

Instance Method Summary collapse

Constructor Details

#initialize(name, actual, path) ⇒ NegativeNumber

Returns a new instance of NegativeNumber.



78
79
80
# File 'lib/droonga/catalog/errors.rb', line 78

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