@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Function accountErrorType

    • The hub AccountErrorType discriminator carried by a failed call, when the failure was a known account error rather than a transport problem. Read from the error's own context or its cause chain (hub failures surface as EdgeCallFailedError with the envelope's data.type).

      Parameters

      • error: unknown

      Returns
          | undefined
          | "invitation_code_invalid"
          | "invitation_code_already_redeemed"
          | "invitation_code_revoked"
          | "email_already_registered"
          | "identity_already_associated"
          | "no_invitations_remaining"
          | "identity_not_associated_with_account"
          | "no_account"
          | "rate_limited"