#[non_exhaustive]pub enum ErrorCode {
Show 27 variants
TicketMissing,
TicketExpired,
TicketInvalid,
DeviceMismatch,
ClockRollback,
NotOwned,
NetworkRequired,
NotAuthenticated,
ArcaneUnavailable,
FeatureUnavailable,
UnknownAchievement,
LobbyNotFound,
LobbyFull,
LobbyClosed,
NotFriends,
NotHost,
UserNotFound,
AlreadyFriends,
NotInLobby,
NoOpenSession,
RateLimited,
MissingGameId,
InvalidGameId,
InvalidArgument,
AmbiguousSession,
NotInitialized,
Internal,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TicketMissing
No ticket cache, or the cached ticket is empty while DRM is on.
TicketExpired
The ticket JWT is past exp (beyond clock skew).
TicketInvalid
Bad JWT, missing/invalid JWKS, wrong title, or own=false.
DeviceMismatch
The ticket is bound to a different machine.
ClockRollback
The system clock is earlier than the ticket or the last-seen time.
NotOwned
Cloud confirmed the signed-in account does not own this title.
NetworkRequired
No usable offline ticket, and a refresh needs the network.
NotAuthenticated
Arcane desktop is reachable but nobody is signed in.
Could not reach or launch the Arcane desktop loopback server.
The Arcane desktop app does not know this route yet — it predates the feature the SDK asked for.
UnknownAchievement
The Arcane desktop app knows the route but not the achievement the game asked to unlock.
LobbyNotFound
No open lobby with that id or join code.
LobbyFull
The lobby already holds max_players.
LobbyClosed
The lobby was closed by its host, or its host’s session expired.
NotFriends
The lobby is visible to the host’s friends only, and this player is not one of them.
NotHost
Only the lobby’s host may do this — change its metadata or close it.
UserNotFound
No Arcane account has that id.
AlreadyFriends
You are already friends with that player, or a friend request between you is already pending either way.
NotInLobby
The coop network was asked for a lobby this player is not a member of.
NoOpenSession
The Arcane desktop app has no play session open for this game, so it will not open the coop network.
RateLimited
Arcane refused the call because this player made too many of them; wait and try again.
MissingGameId
ARCANE_GAME_ID is unset or empty — the game was not started by Arcane
Powered, and no developer override is in place.
InvalidGameId
The game id in ARCANE_GAME_ID is oversized or has forbidden characters.
InvalidArgument
An argument other than the game id is empty, oversized, or has forbidden characters.
AmbiguousSession
Several accounts hold a ticket for this title and Arcane has not recorded which one is signed in.
NotInitialized
A client accessor was used before a successful init (C ABI only).
Internal
Filesystem / path failure.