WebAuthNGetErrorName function (webauthn.h)
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for