class RubySMB::Field::NtStatus
Represents an NTStatus code as defined in [2.3.1 NTSTATUS values](msdn.microsoft.com/en-us/library/cc704588.aspx)
Public Instance Methods
to_nt_status()
click to toggle source
Returns a meaningful error code parsed from the numeric value
@return [WindowsError::ErrorCode] the ErrorCode object for this code
# File lib/ruby_smb/field/nt_status.rb, line 11 def to_nt_status WindowsError::NTStatus.find_by_retval(value).first end