Sha256: e27b541619866b15497d1f27b42127319c612190f2dfb56a73358e100243fc78
Contents?: true
Size: 344 Bytes
Versions: 54
Compression:
Stored size: 344 Bytes
Contents
require 'puppet/util/windows' # represents an error resulting from a Win32 error code class Puppet::Util::Windows::Error < Puppet::Error require 'windows/error' include ::Windows::Error attr_reader :code def initialize(message, code = GetLastError.call) super(message + ": #{get_last_error(code)}") @code = code end end
Version data entries
54 entries across 54 versions & 3 rubygems