Class: Vagrant::Hmurca::NodeForwardPortDuplicatedError
- Inherits:
-
ParserError
- Object
- Booby::Error
- ParserError
- Vagrant::Hmurca::NodeForwardPortDuplicatedError
- Defined in:
- lib/vagrant/hmurca/errors.rb
Overview
Public: Error raised when node name is duplicated across the config file.
Instance Method Summary collapse
-
#initialize(port) ⇒ NodeForwardPortDuplicatedError
constructor
A new instance of NodeForwardPortDuplicatedError.
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 |