Exception: Veewee::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/veewee/error.rb

Direct Known Subclasses

DefinitionError, SshError, TemplateError, WinrmError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, original = $!) ⇒ Error

Returns a new instance of Error


5
6
7
8
# File 'lib/veewee/error.rb', line 5

def initialize(msg, original = $!)
  super(msg)
  @original = original
end

Instance Attribute Details

#originalObject (readonly)

Returns the value of attribute original


3
4
5
# File 'lib/veewee/error.rb', line 3

def original
  @original
end