Exception: Vagrant::Node::RestException
- Inherits:
-
StandardError
- Object
- StandardError
- Vagrant::Node::RestException
- Defined in:
- lib/vagrant-node/exceptions.rb
Direct Known Subclasses
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(code, msg) ⇒ RestException
constructor
A new instance of RestException.
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
#code ⇒ Object
12 13 14 |
# File 'lib/vagrant-node/exceptions.rb', line 12 def code @code end |