Exception: PuppetRepl::Exception::Error

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

Direct Known Subclasses

ConnectError, FatalError, TimeOutError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ Error

Returns a new instance of Error.



5
6
7
# File 'lib/puppet-repl/support/errors.rb', line 5

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

Instance Attribute Details

#dataObject

Returns the value of attribute data.



4
5
6
# File 'lib/puppet-repl/support/errors.rb', line 4

def data
  @data
end