# Functions
BaseStackTrace gets the earliest errors.StackTrace in the given error's cause stack.
GetHresult iterates through the error's cause stack (similar to how the Cause function in github.com/pkg/errors operates).
NewHresultError produces a new error with the given HRESULT.
WrapHresult produces a new error with the given HRESULT and wrapping the given error.
# Constants
0x80070057.
0x80070490.
0x80004005.
0x80004001.
0xC037010D.
0x80370105.
0xC037010F.
0x80370110.
0xC037010E.
0xC037010B.
0xC037010C.
0xC0370109.
# Interfaces
StackTracer is an interface originating (but not exported) from the github.com/pkg/errors package.
# Type aliases
Hresult is a type corresponding to the HRESULT error type used on Windows.