Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the error name for the specified error code.
Syntax
PCWSTR WebAuthNGetErrorName(
HRESULT hr
);
Parameters
hr
The HRESULT to get the error name for.
Return value
An error name string.
Remarks
Returns the following error codes:
| Error Code | Error Name |
|---|---|
| S_OK | Success |
| NTE_EXISTS | InvalidStateError |
| HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED) NTE_NOT_SUPPORTED NTE_TOKEN_KEYSET_STORAGE_FULL |
ConstraintError |
| NTE_INVALID_PARAMETER | NotSupporedError |
| NTE_DEVICE_NOT_FOUND NTE_NOT_FOUND HRESULT_FROM_WIN32(ERROR_CANCELLED) NTE_USER_CANCELLED HRESULT_FROM_WIN32(ERROR_TIMEOUT) |
NotAllowedError |
| All other HRESULT values | UnknownError |
Requirements
| Requirement | Value |
|---|---|
| Header | webauthn.h |
| Library | OneCoreUAP.Lib |