0:002> !teb
TEB at 7f38d000
ExceptionList: 018bfad0
StackBase: 018c0000
StackLimit: 018bc000
SubSystemTib: 00000000
FiberData: 00001e00
ArbitraryUserPointer: 00000000
Self: 7f38d000
EnvironmentPointer: 00000000
ClientId: 0000076c . 00000518
RpcHandle: 00000000
Tls Storage: 0115a170
PEB Address: 7f384000
LastErrorValue: 1168
LastStatusValue: c000000d
Count Owned Locks: 0
HardErrorMode: 0
0:002> !error c000000d
Error code: (NTSTATUS) 0xc000000d (3221225485) - An invalid parameter was passed to a service or function.
0:002> !error 0n1168
Error code: (Win32) 0x490 (1168) - Element not found.
Note LastErrorValue is in decimal and not hex so be sure to add the 0n when using !error. There you go, there is the last error.
source
