Contents

init(languageCode:debugDescription:metadata:)

Creates information describing a language or locale the model doesn’t support.

Declaration

init(languageCode: Locale.LanguageCode, debugDescription: String, metadata: [String : any Sendable] = [:])

Parameters

  • languageCode:

    The language code that the model doesn’t support.

  • debugDescription:

    A debug description to help developers diagnose issues during development.

  • metadata:

    Additional information about the failure, keyed by name.