Exception: Vagrant::Node::RestException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vagrant-node/exceptions.rb

Direct Known Subclasses

ExceptionMutator

Instance Method Summary collapse

Constructor Details

#initialize(code, msg) ⇒ RestException

Returns a new instance of RestException.



8
9
10
11
# File 'lib/vagrant-node/exceptions.rb', line 8

def initialize(code,msg)
  super(msg)
  @code = code        
end

Instance Method Details

#codeObject



12
13
14
# File 'lib/vagrant-node/exceptions.rb', line 12

def code
  @code
end