<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/CompatibilityError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents18CompatibilityErrorO"
  },
  "title" : "CompatibilityError"
}
-->

# CompatibilityError

A compatibility error.

```
enum CompatibilityError
```

## Topics

### Analyzing the Error

[`case unsupportedRevision(Int)`](/documentation/CreateMLComponents/CompatibilityError/unsupportedRevision(_:))

An error that indicates that the revision is not supported.

### Getting the debug description

[`var debugDescription: String`](/documentation/CreateMLComponents/CompatibilityError/debugDescription)

A text representation of the error.

### Default Implementations

[CustomDebugStringConvertible Implementations](/documentation/CreateMLComponents/CompatibilityError/CustomDebugStringConvertible-Implementations)

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)