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

x/oasis/packages/deps.ts>RpcErrorCodes

An object oriented Discordeno framework
Latest
enum RpcErrorCodes
import { RpcErrorCodes } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Members

CaptureShortcutAlreadyListening

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

GetGuildTimedOut

An asynchronous GET_GUILD command timed out.

InvalidChannel

Invalid channel ID specified.

InvalidClientId

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

InvalidCommand = 4002

Invalid command name specified.

InvalidEvent

Invalid event name specified.

InvalidGuild

Invalid guild ID specified.

InvalidOrigin

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

InvalidPayload = 4000

You sent an invalid payload.

InvalidPermissions

You lack permissions to access the given resource.

InvalidToken

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

InvalidUser

The specified user ID was invalid.

OAuth2Error = 5000

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

SelectChannelTimedOut

An asynchronous SELECT_TEXT_CHANNEL/SELECT_VOICE_CHANNEL command timed out.

SelectVoiceForceRequired

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

UnknownError = 1000

An unknown error occurred.