Sha256: 227924e25df319eb4476d4691e4d5f0c5f9de8ab2f539d02dca96453f2631cb5
Contents?: true
Size: 503 Bytes
Versions: 39
Compression:
Stored size: 503 Bytes
Contents
require 'windows_error/nt_status' module RubySMB module Field # Represents an NTStatus code as defined in # [2.3.1 NTSTATUS values](https://msdn.microsoft.com/en-us/library/cc704588.aspx) class NtStatus < BinData::Uint32le # Returns a meaningful error code parsed from the numeric value # # @return [WindowsError::ErrorCode] the ErrorCode object for this code def to_nt_status WindowsError::NTStatus.find_by_retval(value).first end end end end
Version data entries
39 entries across 39 versions & 1 rubygems