> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# DisconnectReason

> Enumeration DisconnectReason in the Baileys API.

Defined in: [src/Types/index.ts:28](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L28)

## Enumeration Members

### badSession

> **badSession**: `500`

Defined in: [src/Types/index.ts:34](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L34)

***

### connectionClosed

> **connectionClosed**: `428`

Defined in: [src/Types/index.ts:29](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L29)

***

### connectionLost

> **connectionLost**: `408`

Defined in: [src/Types/index.ts:30](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L30)

***

### connectionReplaced

> **connectionReplaced**: `440`

Defined in: [src/Types/index.ts:31](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L31)

***

### forbidden

> **forbidden**: `403`

Defined in: [src/Types/index.ts:37](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L37)

***

### loggedOut

> **loggedOut**: `401`

Defined in: [src/Types/index.ts:33](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L33)

***

### multideviceMismatch

> **multideviceMismatch**: `411`

Defined in: [src/Types/index.ts:36](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L36)

***

### restartRequired

> **restartRequired**: `515`

Defined in: [src/Types/index.ts:35](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L35)

***

### timedOut

> **timedOut**: `408`

Defined in: [src/Types/index.ts:32](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L32)

***

### unavailableService

> **unavailableService**: `503`

Defined in: [src/Types/index.ts:38](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/index.ts#L38)
