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

# VICallUpgradeDecisionError

Class that represents errors that can occur during a call upgrade from audio to video.

@objc class VICallUpgradeDecisionError

These errors are reported via the completion handler of [acceptAndSend(localVideoStream:completion:)](/api-reference/iossdk/calls/vicallupgradedecision#symbol-1745cea1f091cc96).

## Properties

### code

@objc var code: Int \{ get }

Error code.

### description

override var description: String \{ get }

Error description.

### type

@objc let type: [VICallUpgradeDecisionErrorType](/api-reference/iossdk/calls/vicallupgradedecisionerrortype)

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