<!--
{
  "availability" : [
    "Xcode: 16.3.0 -",
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "XCUIAutomation",
  "identifier" : "/documentation/XCUIAutomation/XCUIVoiceOverService/Error/Code",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "XCUIAutomation"
    ],
    "preciseIdentifier" : "c:@E@XCUIVoiceOverServiceError"
  },
  "title" : "XCUIVoiceOverService.Error.Code"
}
-->

# XCUIVoiceOverService.Error.Code

Error codes for XCUIVoiceOverService operations.

```
enum Code
```

## Topics

### Enumeration Cases

[`case failedToStart`](/documentation/XCUIAutomation/XCUIVoiceOverService/Error/Code/failedToStart)

VoiceOver daemon did not start within the timeout.

[`case failedToStop`](/documentation/XCUIAutomation/XCUIVoiceOverService/Error/Code/failedToStop)

VoiceOver daemon did not stop within the timeout after @c disable().

[`case noSpeech`](/documentation/XCUIAutomation/XCUIVoiceOverService/Error/Code/noSpeech)

VoiceOver did not produce any speech within the timeout.

[`case notRunning`](/documentation/XCUIAutomation/XCUIVoiceOverService/Error/Code/notRunning)

A navigation or speech method was called without first calling @c enable().

### Initializers

[`init?(rawValue: Int)`](/documentation/XCUIAutomation/XCUIVoiceOverService/Error/Code/init(rawValue:))

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)