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

# VIVideoSourceError

Class that represents errors that may occur when interacting with video sources such as a camera or screensharing.

@objc class VIVideoSourceError

## Properties

### code

@objc var code: Int \{ get }

Error code.

### description

override var description: String \{ get }

Error description.

### type

@objc let type: [VIVideoSourceErrorType](/api-reference/iossdk/calls/vivideosourceerrortype)

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