@kagamidigital/salt-sdk-mirror
    Preparing search index...

    Type Alias CeremonyJoinErrorCode

    CeremonyJoinErrorCode:
        | "SESSION_NOT_FOUND"
        | "PARTY_ALREADY_CONNECTED"
        | "SESSION_IN_PROGRESS"

    Reasons the relay will refuse a party's attempt to join a ceremony session.

    • SESSION_NOT_FOUND — no such session. It expired, or the host ended it before this party acted on the nudge.
    • PARTY_ALREADY_CONNECTED — this partyId is already on record in the session.
    • SESSION_IN_PROGRESS — the ceremony has already exchanged wire messages. The remaining parties hold MPC round state that a fresh connection cannot reconstruct, and nothing was buffered while the partyId was vacant. This is what a party that dropped mid-ceremony hits on reconnect, since its own disconnect released the partyId.

    The relay can also refuse a join with NOT_REGISTERED, and a host attempt with NOT_REGISTERED or INVALID_SESSION_TYPE. Those are deliberately absent here: each means this SDK sent something malformed — it registers the party on connect and passes the session type itself — so they are bugs to fix rather than conditions an application can act on, and they propagate untyped.