One Logo Pool Ball
FoundationModels · IOS API REFERENCE

GenerationSchema.SchemaError

enum · iOS 26.0+ · SDK 27.1

enum SchemaError

An error that occurs when there is a problem creating a generation schema.

Members (2)

get · iOS 26.0+

errorDescription

TypeScript
get errorDescription(): (string) | null
Swift declaration
var errorDescription: String? { get }

A string representation of the error description.

get · iOS 26.0+

recoverySuggestion

TypeScript
get recoverySuggestion(): (string) | null
Swift declaration
var recoverySuggestion: String? { get }

A suggestion that indicates how to handle the error.

Skipped declarations

No declarations were skipped in this snapshot.

All FoundationModels types →