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

# VIConnectionError

Connect error

@objc class VIConnectionError

The error is returned as the result of [connect(to:gateways:completion:)](/api-reference/iossdk/core/viclient#symbol-3bd463ec6f259134) if the connection to the Voximplant cloud has failed to establish.

## Properties

### code

@objc var code: Int \{ get }

Error code.

### description

override var description: String \{ get }

Error description.

### type

@objc let type: [VIConnectionErrorType](/api-reference/iossdk/core/viconnectionerrortype)

Error type.

## Default Implementations

### Error Implementations

Error.localizedDescription

## Relationships

**Inherits From:** NSObject

**Conforms To:** ObjectiveC.NSObjectProtocol, Swift.CVarArg, Swift.CustomDebugStringConvertible, Swift.CustomStringConvertible, Swift.Equatable, Swift.Error, Swift.Hashable, Swift.Sendable, Swift.SendableMetatype