RPCErrorCodes

export declare enum RPCErrorCodes
export declare enum RPCErrorCodes
CaptureShortcutAlreadyListening=

5004

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

5002

An asynchronous GET_GUILD command timed out.
InvalidActivityJoinRequest=

4012

InvalidActivitySecret=

5005

InvalidChannel=

4005

Invalid channel ID specified.
InvalidClientId=

4007

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

4002

Invalid command name specified.
InvalidEntitlement=

4013

InvalidEvent=

4004

Invalid event name specified.
InvalidGiftCode=

4014

InvalidGuild=

4003

Invalid guild ID specified.
InvalidInvite=

4011

InvalidOrigin=

4008

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

4000

You sent an invalid payload.
InvalidPermissions=

4006

You lack permissions to access the given resource.
InvalidToken=

4009

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

4010

The specified user ID was invalid.
NoEligibleActivity=

5006

OAuth2Error=

5000

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

5007

PurchaseError=

5008

RateLimited=

5010

SelectChannelTimedOut=

5001

An asynchronous SELECT_TEXT_CHANNEL/SELECT_VOICE_CHANNEL command timed out.
SelectVoiceForceRequired=

5003

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

1001

TransactionAborted=

1002

UnauthorizedForAchievement=

5009

UnknownError=

1000

An unknown error occurred.