Exception: Puppet::Util::Windows::EventLog::EventLogError Private
- Defined in:
- lib/puppet/util/windows/eventlog.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(msg, code) ⇒ EventLogError
constructor
private
A new instance of EventLogError.
Constructor Details
#initialize(msg, code) ⇒ EventLogError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of EventLogError.
116 117 118 119 |
# File 'lib/puppet/util/windows/eventlog.rb', line 116 def initialize(msg, code) #TRANSLATORS 'Win32' is the Windows API and should not be translated super(msg + ' ' + _("(Win32 error: %{detail})") % { detail: code}) end |