Skip to content

Commit 176129e

Browse files
authored
chore(Constants): add more RPCErrorCodes (#331)
1 parent 5a3b04f commit 176129e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Constants.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@ export enum RPCCloseCodes {
1515
export enum RPCErrorCodes {
1616
INVALID_PAYLOAD = 4000,
1717
INVALID_COMMAND = 4002,
18+
INVALID_GUILD = 4003,
1819
INVALID_EVENT = 4004,
20+
INVALID_CHANNEL = 4005,
1921
INVALID_PERMISSIONS = 4006,
22+
INVALID_CLIENTID = 4007,
23+
INVALID_ORIGIN = 4008,
24+
INVALID_TOKEN = 4009,
25+
INVALID_USER = 4010,
2026
}
2127

2228
/**

0 commit comments

Comments
 (0)