mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
refactor(WebSocketShard): error event handling (#10436)
* refactor(WebSocketShard): error event handling * chore: blehhhh :pppp --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -82,5 +82,3 @@ export function getInitialSendRateLimitState(): SendRateLimitState {
|
||||
resetAt: Date.now() + 60_000,
|
||||
};
|
||||
}
|
||||
|
||||
export const KnownNetworkErrorCodes = new Set(['ECONNRESET', 'ECONNREFUSED', 'ETIMEDOUT', 'EAI_AGAIN']);
|
||||
|
||||
Reference in New Issue
Block a user