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

# VIConnectionErrorType

Constants for errors returned if a connect operation has failed.

@objc enum VIConnectionErrorType

## Values

### case internalError

Something went wrong.

### case interrupted

Connection to the Voximplant Cloud is closed due to the [disconnect()](/api-reference/iossdk/core/viclient#symbol-747b2226d45e2f5f) API is called.

### case invalidState

Connect has failed due to an invalid client state.

### case networkIssues

Connection to the Voximplant Cloud is closed due to network issues.

### case timeout

Connect has not completed in time.

## Initializers

### init(rawValue:)

init?(rawValue: Int)

Inherited from `RawRepresentable.init(rawValue:)`.

## Properties

### description

var description: String \{ get }

Error description.

## Default Implementations

### Equatable Implementations

Equatable.!=(*:*:)

### RawRepresentable Implementations

RawRepresentable.hash(into:) RawRepresentable.hashValue

## Relationships

**Conforms To:** Swift.CustomStringConvertible, Swift.Equatable, Swift.Hashable, Swift.RawRepresentable