<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/LanguageModelError/UnsupportedGenerationGuide/init(schemaName:debugDescription:metadata:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels18LanguageModelErrorO26UnsupportedGenerationGuideV10schemaName16debugDescription8metadataAESSSg_SSSDySSs8Sendable_pGtcfc"
  },
  "title" : "init(schemaName:debugDescription:metadata:)"
}
-->

# init(schemaName:debugDescription:metadata:)

Creates information describing a generation guide the model doesn’t support.

```
init(schemaName: String?, debugDescription: String, metadata: [String : any Sendable] = [:])
```

## Parameters

`schemaName`

The name of the schema whose generation guide isn’t supported, if any.

`debugDescription`

A debug description to help developers diagnose issues during development.

`metadata`

Additional information about the failure, keyed by name.

---

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)