Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discord_rpc_deno/mod.ts>RPC_ERROR_CODE

port of @xhayper/discord-rpc to deno
Latest
enum RPC_ERROR_CODE
Re-export
import { RPC_ERROR_CODE } from "https://deno.land/x/discord_rpc_deno@v1.1.4/mod.ts";

Members

RPC_CAPTURE_SHORTCUT_ALREADY_LISTENING = 5004

You tried to capture more than one shortcut key at once.

RPC_GET_GUILD_TIMEOUT = 5002

An asynchronous GET_GUILD command timed out.

RPC_INVALID_CHANNEL = 4005

Invalid channel ID specified.

RPC_INVALID_CLIENT_ID = 4007

An invalid OAuth2 application ID was used to authorize or authenticate with.

RPC_INVALID_COMMAND = 4002

Invalid command name specified.

RPC_INVALID_EVENT = 4004

Invalid event name specified.

RPC_INVALID_GUILD = 4003

Invalid guild ID specified.

RPC_INVALID_ORIGIN = 4008

An invalid OAuth2 application origin was used to authorize or authenticate with.

RPC_INVALID_PAYLOAD = 4000

You sent an invalid payload.

RPC_INVALID_PERMISSION = 4006

You lack permissions to access the given resource.

RPC_INVALID_TOKEN = 4009

An invalid OAuth2 token was used to authorize or authenticate with.

RPC_INVALID_USER = 4010

The specified user ID was invalid.

RPC_OAUTH2_ERROR = 5000

A standard OAuth2 error occurred; check the data object for the OAuth2 error details.

RPC_SELECT_CHANNEL_TIMEOUT = 5001

An asynchronous SELECT_TEXT_CHANNEL/SELECT_VOICE_CHANNEL command timed out.

RPC_SELECT_VOICE_FORCE_REQUIRED = 5003

You tried to join a user to a voice channel but the user was already in one.

RPC_UNKNOWN_ERROR = 1000

An unknown error occurred.