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

# VIAudioFileError

Error object that describes a [VIAudioFile](/api-reference/iossdk/core/viaudiofile) failure.

@objc class VIAudioFileError

## Properties

### code

@objc var code: Int \{ get }

Numeric error code matching [VIAudioFileErrorType](/api-reference/iossdk/core/viaudiofileerrortype) raw values.

### description

override var description: String \{ get }

Human-readable error description.

### type

@objc let type: [VIAudioFileErrorType](/api-reference/iossdk/core/viaudiofileerrortype)

Typed error reason.

## 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