SpectatorsClosedException
class SpectatorsClosedException(message: String = "spectators are not allowed or the spectator cap has been reached") : IllegalStateException
Thrown by gameSpectate when the host's spectator gallery is closed — either because the host did not enable spectators (allowSpectators = false, the default) or because maxSpectators has already been reached.
Distinct from SpectateTimeoutException so callers can diagnose "spectators are disabled or the gallery is full" vs "host gone / crashed mid-handshake". Surface this as a user-visible error (e.g. "spectating is not allowed for this game") rather than retrying.