Skip to main content
ReportBrowserErrorOptions
Example
export interface ReportBrowserErrorOptions {
  /**
   * The error object from the WebAuthn API. This typically is a `DOMException`.
   * The SDK expects an object with at least `name` and `message` properties.
   * @type {WebAuthnErrorDetails}
   * @example { name: "NotAllowedError", message: "The operation was cancelled by the user." }
   */
  error: WebAuthnErrorDetails;
}

Properties

error
The error object from the WebAuthn API (navigator.credentials.get()) to be reported. Must include name and message.