Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WebAuthNGetW3CExceptionDOMError function (webauthn.h)

Maps an HRESULT error code returned by a WebAuthn function to the corresponding W3C WebAuthn DOM exception code.

Syntax

HRESULT WebAuthNGetW3CExceptionDOMError(
 HRESULT hr
);

Parameters

hr

The HRESULT error code to map.

Return value

An HRESULT that represents the W3C DOM exception code corresponding to hr.

Remarks

Use this function when you need to propagate WebAuthn errors through a W3C-compliant API surface. To get a human-readable error name string instead, call WebAuthNGetErrorName.

Requirements

Requirement Value
Header webauthn.h
Library OneCoreUAP.Lib

See also

WebAuthNGetErrorName


Feedback

Was this page helpful?

Additional resources