Class: Vagrant::Hmurca::NodeForwardPortDuplicatedError

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

Overview

Public: Error raised when node name is duplicated across the config file.

Instance Method Summary collapse

Constructor Details

#initialize(port) ⇒ NodeForwardPortDuplicatedError

Returns a new instance of NodeForwardPortDuplicatedError.



91
92
93
# File 'lib/vagrant/hmurca/errors.rb', line 91

def initialize(port)
  super("Duplicated host's port #{port} in one of `forward-port` options.")
end