> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# ClientDisconnectReason (enum)

[Events](/api-reference/websdk5/core/events/overview)

Enum that contains reasons why the connection to the Voximplant Cloud has been closed,
provided by the [ClientEvent.Disconnected](/api-reference/websdk5/core/events/clientevent#disconnected) event.

**Values**

* [ConnectionLost](/api-reference/websdk5/core/events/clientdisconnectreason#connectionlost)
* [UserInitiated](/api-reference/websdk5/core/events/clientdisconnectreason#userinitiated)

## Values

### ConnectionLost

`ConnectionLost: "CONNECTION_LOST"`

Connection to the Voximplant Cloud has been closed due to network issues.

### UserInitiated

`UserInitiated: "USER_INITIATED"`

Connection to the Voximplant Cloud has been closed by the [Client.disconnect](/api-reference/websdk5/core/client#disconnect) method call.