<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVSystemRouting",
  "identifier" : "/documentation/AVSystemRouting/AVSystemRoutingError-7miya",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AVSystemRouting"
    ],
    "preciseIdentifier" : "s:15AVSystemRouting0aB5ErrorV"
  },
  "title" : "AVSystemRoutingError"
}
-->

# AVSystemRoutingError

An error that an AVSystemRouting operation throws when it fails.

```
struct AVSystemRoutingError
```

## Topics

### Initializers

[`init(AVSystemRoutingError.Code)`](/documentation/AVSystemRouting/AVSystemRoutingError-7miya/init(_:))

Creates an error with the specified error code.

### Instance Properties

[`let code: AVSystemRoutingError.Code`](/documentation/AVSystemRouting/AVSystemRoutingError-7miya/code-swift.property)

The code that identifies the type of routing error.

[`var errorDescription: String?`](/documentation/AVSystemRouting/AVSystemRoutingError-7miya/errorDescription)

A localized description of the error.

[`var failureReason: String?`](/documentation/AVSystemRouting/AVSystemRoutingError-7miya/failureReason)

A localized explanation of the reason for the error.

[`var helpAnchor: String?`](/documentation/AVSystemRouting/AVSystemRoutingError-7miya/helpAnchor)

A localized help anchor for the error.

[`var recoverySuggestion: String?`](/documentation/AVSystemRouting/AVSystemRoutingError-7miya/recoverySuggestion)

A localized suggestion for how to recover from the error.

### Enumerations

[`enum Code`](/documentation/AVSystemRouting/AVSystemRoutingError-7miya/Code-swift.enum)

The codes that identify the type of a routing error.

## Relationships

### Conforms To

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

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

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

[`LocalizedError`](/documentation/Foundation/LocalizedError)

---

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)