Class: RubySMB::Field::NtStatus
- Inherits:
-
BinData::Uint32le
- Object
- BinData::Uint32le
- RubySMB::Field::NtStatus
- Defined in:
- lib/ruby_smb/field/nt_status.rb
Overview
Represents an NTStatus code as defined in 2.3.1 NTSTATUS values
Instance Method Summary collapse
-
#to_nt_status ⇒ WindowsError::ErrorCode
Returns a meaningful error code parsed from the numeric value.
Instance Method Details
#to_nt_status ⇒ WindowsError::ErrorCode
Returns a meaningful error code parsed from the numeric value
11 12 13 |
# File 'lib/ruby_smb/field/nt_status.rb', line 11 def to_nt_status WindowsError::NTStatus.find_by_retval(value).first end |