Skip to main content
Version: 0.37.24

GatewayCloseCodes

@deprecated

Gateway v6 is deprecated and the types will not receive further updates, please update to v8.

Index

Enumeration Members

AlreadyAuthenticated

AlreadyAuthenticated: 4005 = 4005

AuthenticationFailed

AuthenticationFailed: 4004 = 4004

DecodeError

DecodeError: 4002 = 4002

DisallowedIntents

DisallowedIntents: 4014 = 4014

InvalidAPIVersion

InvalidAPIVersion: 4012 = 4012

InvalidIntents

InvalidIntents: 4013 = 4013

InvalidSeq

InvalidSeq: 4007 = 4007

InvalidShard

InvalidShard: 4010 = 4010

NotAuthenticated

NotAuthenticated: 4003 = 4003

RateLimited

RateLimited: 4008 = 4008

SessionTimedOut

SessionTimedOut: 4009 = 4009

ShardingRequired

ShardingRequired: 4011 = 4011

UnknownError

UnknownError: 4000 = 4000

UnknownOpCode

UnknownOpCode: 4001 = 4001