Sha256: d2dbeff03192fb9dc77ac697da667dbe0d14e05f524523360a94f01ca1c1a76f
Contents?: true
Size: 370 Bytes
Versions: 18
Compression:
Stored size: 370 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, original = nil) super(message + ": #{get_last_error(code)}", original) @code = code end end
Version data entries
18 entries across 18 versions & 1 rubygems