def ambiguous_msg
import cswap-bend-cli@0.1.0.0/store/seq.bend as Seqimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
235# The reference's ambiguity text for an email in several orgs.
236def ambiguous_msg(+seq: Json.Json, +email: String, +slots: List<&2, String>) -> String:
237 "Email '" ++ email ++ "' is ambiguous — matches accounts: " ++ String.join(amb_details(seq, slots), ", ")
238 ++ ". Use account number instead (e.g., cswap --switch-to 1)."