Exception: Puppet::Util::Windows::EventLog::EventLogError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/puppet/util/windows/eventlog.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg, code) ⇒ EventLogError

Returns a new instance of EventLogError.



112
113
114
# File 'lib/puppet/util/windows/eventlog.rb', line 112

def initialize(msg, code)
  super(msg + " (Win32 error: #{code})")
end