Class: Vagrant::Hmurca::InvalidIntegerValueError

Inherits:
ParserError
  • Object
show all
Defined in:
lib/vagrant/hmurca/errors.rb

Overview

Public: Error raised when invalid integer value given.

Instance Method Summary collapse

Constructor Details

#initialize(value, line_no) ⇒ InvalidIntegerValueError

Returns a new instance of InvalidIntegerValueError.



37
38
39
# File 'lib/vagrant/hmurca/errors.rb', line 37

def initialize(value, line_no)
  super("Invalid integer value (line #{line_no}): #{value}")
end