Exception: Droonga::Catalog::NegativeNumber
- Inherits:
-
LegacyValidationError
- Object
- StandardError
- Error
- LegacyValidationError
- Droonga::Catalog::NegativeNumber
- Defined in:
- lib/droonga/catalog/errors.rb
Instance Method Summary collapse
-
#initialize(name, actual, path) ⇒ NegativeNumber
constructor
A new instance of NegativeNumber.
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 |