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

# VIFileLoggerError

File logger configuration error.

enum VIFileLoggerError

The error is returned as the result of [tryConfigureFileLogger(\_:)](/api-reference/iossdk/core/vicore#symbol-e5d996352a1b15b9).

## Values

### case failedToOpen

File or directory creation or opening failure.

### case invalidArguments

File logger configuration is invalid, for example, when [directoryURL](/api-reference/iossdk/core/vifileloggerconfiguration#symbol-759b0ef1585a1cc8) is not a file URL, [maxFileSize](/api-reference/iossdk/core/vifileloggerconfiguration#symbol-be28801b969fe5b4) is zero, or a value exceeds 20 MB.

### case permissionRequired

File or directory access failure due to missing permissions.

## Initializers

### init(rawValue:)

init?(rawValue: Int)

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

## Properties

### code

var code: Int \{ get }

Error code.

### description

var description: String \{ get }

Error description.

## Default Implementations

### Equatable Implementations

Equatable.!=(*:*:)

### Error Implementations

Error.localizedDescription

### RawRepresentable Implementations

RawRepresentable.hash(into:) RawRepresentable.hashValue

## Relationships

**Conforms To:** Swift.CustomStringConvertible, Swift.Equatable, Swift.Error, Swift.Hashable, Swift.RawRepresentable, Swift.Sendable, Swift.SendableMetatype