class Derelict::VirtualMachine::NotFound
The requested virtual machine isn't defined in the Vagrantfile
Public Class Methods
new(name, connection = nil)
click to toggle source
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
Calls superclass method
Derelict::Exception::OptionalReason::new
# 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