Exception: PuppetDebugger::Exception::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/puppet-debugger/support/errors.rb

Direct Known Subclasses

ConnectError, FatalError, InvalidCommand, TimeOutError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ Error

Returns a new instance of Error.



7
8
9
# File 'lib/puppet-debugger/support/errors.rb', line 7

def initialize(data = {})
  @data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



6
7
8
# File 'lib/puppet-debugger/support/errors.rb', line 6

def data
  @data
end