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

# PipelineDataError

Errors related to pipeline data affinity problems.

```
enum PipelineDataError
```

## Topics

### Analyzing the error

[`case emptyInput(operation: String)`](/documentation/CreateMLComponents/PipelineDataError/emptyInput(operation:))

An error that indicates that the input to fit is empty.

[`case incompatibleConfiguration(operation: String, debugDescription: String)`](/documentation/CreateMLComponents/PipelineDataError/incompatibleConfiguration(operation:debugDescription:))

An error that indicates that an input is not compatible with an operation’s configuration.

[`case incompatibleDataFormat(operation: String, debugDescription: String)`](/documentation/CreateMLComponents/PipelineDataError/incompatibleDataFormat(operation:debugDescription:))

An error that indicates that an input doesn’t have the expected data format.

[`case incompatibleShape([Int], debugDescription: String)`](/documentation/CreateMLComponents/PipelineDataError/incompatibleShape(_:debugDescription:))

An error that indicates that an input’s doesn’t have the expected shape for the operation.

[`case missingAnnotation(operation: String)`](/documentation/CreateMLComponents/PipelineDataError/missingAnnotation(operation:))

An error that indicates that an expected annotation is missing.

[`case missingValue(operation: String)`](/documentation/CreateMLComponents/PipelineDataError/missingValue(operation:))

An error that indicates that an expected value is missing.

[`case unrecognizedCategory(operation: String, category: String)`](/documentation/CreateMLComponents/PipelineDataError/unrecognizedCategory(operation:category:))

An error that indicates that a new category was encountered after fitting.

### Getting the debug description

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

A text representation of the error.

### Default Implementations

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

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)