<!--
{
  "availability" : [
    "iOS: 18.4.0 - 27.0.0",
    "iPadOS: 18.4.0 - 27.0.0",
    "macCatalyst: 18.4.0 - 27.0.0",
    "macOS: 15.4.0 - 27.0.0",
    "visionOS: 2.4.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ImagePlayground",
  "identifier" : "/documentation/ImagePlayground/ImageCreator/Error",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Image Playground",
      "ImagePlayground"
    ],
    "preciseIdentifier" : "s:15ImagePlayground0A7CreatorC5ErrorO"
  },
  "title" : "ImageCreator.Error"
}
-->

# ImageCreator.Error

Errors that can occur during the image generation process.

```
enum Error
```

## Topics

### Getting the error codes

[`ImageCreator.Error.notSupported`](/documentation/ImagePlayground/ImageCreator/Error/notSupported)

An error that indicates the device doesn’t support image generation.

[`ImageCreator.Error.unavailable`](/documentation/ImagePlayground/ImageCreator/Error/unavailable)

An error that indicates image creation is currently unavailable.

[`ImageCreator.Error.creationCancelled`](/documentation/ImagePlayground/ImageCreator/Error/creationCancelled)

An error that occurs in response to cancellation of the parent task.

[`ImageCreator.Error.faceInImageTooSmall`](/documentation/ImagePlayground/ImageCreator/Error/faceInImageTooSmall)

An error that indicates the system cannot use one of the source
images because the face in it is too small.

[`ImageCreator.Error.unsupportedLanguage`](/documentation/ImagePlayground/ImageCreator/Error/unsupportedLanguage)

An error that indicates the input text uses an unsupported language.

[`ImageCreator.Error.unsupportedInputImage`](/documentation/ImagePlayground/ImageCreator/Error/unsupportedInputImage)

An error that indicates the system cannot use one of the specified
source images.

[`ImageCreator.Error.backgroundCreationForbidden`](/documentation/ImagePlayground/ImageCreator/Error/backgroundCreationForbidden)

An error that indicates the app is hidden or in the background.

[`ImageCreator.Error.creationFailed`](/documentation/ImagePlayground/ImageCreator/Error/creationFailed)

An error that indicates a general failure occurred during image creation.

### Getting error-related information



---

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)