debugDescription
TypeScriptget debugDescription(): stringSwift declarationvar debugDescription: StringA debug description of the usage limit.
struct · iOS 27.0+ · SDK 27.1
struct QuotaLimitReachedInformation about reaching a usage limit. A ``PrivateCloudComputeLanguageModel`` provides a ``LanguageModelError`` that you use to proactively respond to usage quota scenarios, like when a person is approaching their per-day request limit. When a person approaches or exceeds the daily quota, the framework provides a direct path for you to add system UI so the person can subscribe to iCloud+ to get more access. For more information about quota limits, see "Handle usage limits from using PCC" in <doc:adding-server-side-intelligence-with-private-cloud-compute>.
get debugDescription(): stringSwift declarationvar debugDescription: StringA debug description of the usage limit.
set debugDescription(value: string)Swift declarationvar debugDescription: StringA debug description of the usage limit.
static init(limitIncreaseSuggestion: (PrivateCloudComputeLanguageModel_QuotaUsage_LimitIncreaseSuggestion) | null, resetDate: (globalThis.Date) | null, debugDescription: string): PrivateCloudComputeLanguageModel_Error_QuotaLimitReachedSwift declarationinit(limitIncreaseSuggestion: PrivateCloudComputeLanguageModel.QuotaUsage.LimitIncreaseSuggestion? = nil, resetDate: Date? = nil, debugDescription: String)Creates a quota limit reached instance. - Parameters: - limitIncreaseSuggestion: The suggestion to increase the usage limit, if one exists. - resetDate: The date that the usage limit resets. - debugDescription: The debug description of the usage limit.
get limitIncreaseSuggestion(): (PrivateCloudComputeLanguageModel_QuotaUsage_LimitIncreaseSuggestion) | nullSwift declarationvar limitIncreaseSuggestion: PrivateCloudComputeLanguageModel.QuotaUsage.LimitIncreaseSuggestion?A suggestion to increase the usage limit, if one exists.
set limitIncreaseSuggestion(value: (PrivateCloudComputeLanguageModel_QuotaUsage_LimitIncreaseSuggestion) | null)Swift declarationvar limitIncreaseSuggestion: PrivateCloudComputeLanguageModel.QuotaUsage.LimitIncreaseSuggestion?A suggestion to increase the usage limit, if one exists.
get resetDate(): (globalThis.Date) | nullSwift declarationvar resetDate: Date?The date that the usage limit resets.
set resetDate(value: (globalThis.Date) | null)Swift declarationvar resetDate: Date?The date that the usage limit resets.
No declarations were skipped in this snapshot.