Skip to main content
ReportBrowserErrorOptions
Example
export interface ReportBrowserErrorOptions {
  /**
   * WebAuthn APIのエラーオブジェクトです。通常は`DOMException`です。
   * SDKは少なくとも`name`と`message`プロパティを持つオブジェクトを想定しています。
   * @type {WebAuthnErrorDetails}
   * @example { name: "NotAllowedError", message: "The operation was cancelled by the user." }
   */
  error: WebAuthnErrorDetails;
}

プロパティ

報告する WebAuthn API (navigator.credentials.get()) のエラーオブジェクトです。 namemessage を含める必要があります。