!error

The !error extension decodes and displays information about an error value.

!error Value [Flags]

Parameters

Value
Specifies one of the following error codes:

  • Win32

  • Winsock

  • NTSTATUS

  • NetAPI

Flags
If Flags is set to 1, the error code is read as an NTSTATUS code.

DLL

Ext.dll

Remarks

The following example shows you how to use !error.

0:000> !error 2
Error code: (Win32) 0x2 (2) - The system cannot find the file specified.
0:000> !error 2 1
Error code: (NTSTATUS) 0x2 - STATUS_WAIT_2