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

x/oasis/packages/deps.ts>RpcCloseEventCodes

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

Members

InvalidClientId = 4000

You connected to the RPC server with an invalid client ID.

InvalidEncoding

The encoding specified in the connection string was not valid.

InvalidOrigin

You connected to the RPC server with an invalid origin.

InvalidVersion

The RPC Server version specified in the connection string was not valid.

RateLimited

You are being rate limited.

TokenRevoked

The OAuth2 token associated with a connection was revoked, get a new one!