Exception: Derelict::VirtualMachine::NotFound
- Defined in:
- lib/derelict/virtual_machine/not_found.rb
Overview
The requested virtual machine isn’t defined in the Vagrantfile
Instance Method Summary collapse
-
#initialize(name, connection = nil) ⇒ NotFound
constructor
Initializes a new instance of this exception for a given name.
Constructor Details
#initialize(name, connection = nil) ⇒ NotFound
Initializes a new instance of this exception for a given name
* name: The requested name of the virtual machine
* connection: The Derelict connection used for this VM
9 10 11 12 13 14 15 |
# File 'lib/derelict/virtual_machine/not_found.rb', line 9 def initialize(name, connection = nil) if connection.respond_to? :path super "Virtual machine #{name} not found in #{connection.path}" else super "Virtual machine #{name} not found" end end |