Puppet::Error
represents an error resulting from a Win32 error code
# File lib/puppet/util/windows/error.rb, line 10 def initialize(message, code = GetLastError.call) super(message + ": #{get_last_error(code)}") @code = code end