Enum RPC_CLOSE_CODE
🏷️ Enum Members
RPC_CLOSE_ABNORMAL
RPC_CLOSE_ABNORMAL: 1006
Defined in: packages/discord-rpc/structures/Transport.ts:8
RPC_CLOSE_INVALID_CLIENT_ID
RPC_CLOSE_INVALID_CLIENT_ID: 4000
You connected to the RPC server with an invalid client ID.
Defined in: packages/discord-rpc/structures/Transport.ts:13
RPC_CLOSE_INVALID_ENCODING
RPC_CLOSE_INVALID_ENCODING: 4005
The encoding specified in the connection string was not valid
Defined in: packages/discord-rpc/structures/Transport.ts:33
RPC_CLOSE_INVALID_ORIGIN
RPC_CLOSE_INVALID_ORIGIN: 4001
You connected to the RPC server with an invalid origin.
Defined in: packages/discord-rpc/structures/Transport.ts:17
RPC_CLOSE_INVALID_VERSION
RPC_CLOSE_INVALID_VERSION: 4004
The RPC Server version specified in the connection string was not valid.
Defined in: packages/discord-rpc/structures/Transport.ts:29
RPC_CLOSE_NORMAL
RPC_CLOSE_NORMAL: 1000
Defined in: packages/discord-rpc/structures/Transport.ts:6
RPC_CLOSE_RATE_LIMITED
RPC_CLOSE_RATE_LIMITED: 4002
You are being rate limited.
Defined in: packages/discord-rpc/structures/Transport.ts:21
RPC_CLOSE_TOKEN_REVOKED
RPC_CLOSE_TOKEN_REVOKED: 4003
The OAuth2 token associated with a connection was revoked, get a new one!
Defined in: packages/discord-rpc/structures/Transport.ts:25
RPC_CLOSE_UNSUPPORTED
RPC_CLOSE_UNSUPPORTED: 1003
Defined in: packages/discord-rpc/structures/Transport.ts:7