| Case | SwiftAI.AINoOutputKind.audio | case audio | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.content | case content | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.image | case image | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.output | case output | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.speech | case speech | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.transcript | case transcript | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAI.AINoOutputKind.video | case video | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Case | SwiftAIProvider.GatewayErrorType.authenticationError | case authenticationError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.failedDependency | case failedDependency | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.forbidden | case forbidden | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.internalServerError | case internalServerError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.invalidRequestError | case invalidRequestError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.modelNotFound | case modelNotFound | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.rateLimitExceeded | case rateLimitExceeded | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.responseError | case responseError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Case | SwiftAIProvider.GatewayErrorType.timeoutError | case timeoutError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Enumeration | SwiftAI.AINoOutputKind | enum AINoOutputKind | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Enumeration | SwiftAIProvider.GatewayErrorType | enum GatewayErrorType | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Function | SwiftAIOpenAI.openAIProviderStreamError(from:) | func openAIProviderStreamError(from frame: JSONValue) -> AIStreamProviderError? | Packages/swift-ai-openai/Sources/SwiftAIOpenAI/OpenAIStreamErrors.swift |
| Function | SwiftAIProvider.getErrorMessage(_:) | func getErrorMessage(_ value: Any?) -> String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAI.init(provider:kind:structuredOutputKind:responses:calls:message:) | init(provider: String? = nil, kind: AINoOutputKind = .output, structuredOutputKind: AIOutputKind? = nil, responses: [AIResponseMetadata] = [], calls: [ImageGenerationCall] = [], message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Initializer | SwiftAI.init(provider:kind:structuredOutputKind:responses:message:) | init(provider: String? = nil, kind: AINoOutputKind = .output, structuredOutputKind: AIOutputKind? = nil, responses: [AIResponseMetadata] = [], message: String? = nil) | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Initializer | SwiftAIProvider.init(approvalID:) | init(approvalID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(approvalID:toolCallID:reason:) | init(approvalID: String, toolCallID: String, reason: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(field:entityName:) | init(field: String, entityName: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(provider:modelID:maxEmbeddingsPerCall:values:) | init(provider: String, modelID: String, maxEmbeddingsPerCall: Int, values: [String]) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(provider:url:requestBody:statusCode:responseHeaders:responseBody:isRetryable:) | init(provider: String, url: String? = nil, requestBody: JSONValue? = nil, statusCode: Int, responseHeaders: [String : String] = [:], responseBody: String, isRetryable: Bool? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(toolCallID:approvalID:) | init(toolCallID: String, approvalID: String) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(toolCallIDs:) | init(toolCallIDs: [String]) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(toolName:availableToolNames:) | init(toolName: String, availableToolNames: [String] = []) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(toolName:toolCallID:input:message:validationError:) | init(toolName: String, toolCallID: String? = nil, input: JSONValue? = nil, message: String, validationError: AITypeValidationError? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(toolName:toolCallID:originalError:repairedInput:) | init(toolName: String, toolCallID: String? = nil, originalError: String, repairedInput: JSONValue? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAIProvider.init(type:message:statusCode:generationID:modelID:response:headers:isRetryable:cause:) | init(type: GatewayErrorType, message: String, statusCode: Int = 500, generationID: String? = nil, modelID: String? = nil, response: JSONValue? = nil, headers: [String : String] = [:], isRetryable: Bool? = nil, cause: AIAPICallError? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Initializer | SwiftAIProvider.init(value:schema:path:message:context:) | init(value: JSONValue? = nil, schema: JSONValue? = nil, path: String, message: String, context: AITypeValidationContext? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Initializer | SwiftAISDK.init(message:chunkType:chunkID:rawValue:validationIssues:) | init(message: String, chunkType: String? = nil, chunkID: String? = nil, rawValue: JSONValue? = nil, validationIssues: [AIUIMessageValidationIssue] = []) | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAI.calls | var calls: [ImageGenerationCall] | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.kind | var kind: AINoOutputKind | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.message | var message: String | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.provider | var provider: String? | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.responses | var responses: [AIResponseMetadata] | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAI.structuredOutputKind | var structuredOutputKind: AIOutputKind? | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Instance Property | SwiftAIProvider.apiCallError | var apiCallError: AIAPICallError? { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.approvalID | var approvalID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.approvalID | var approvalID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.approvalID | var approvalID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.availableToolNames | var availableToolNames: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.cause | var cause: AIAPICallError? | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.context | var context: AITypeValidationContext? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.entityName | var entityName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.field | var field: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.generationID | var generationID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.input | var input: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.isNotFound | var isNotFound: Bool { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.isRetryable | var isRetryable: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.isRetryable | var isRetryable: Bool | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.maxEmbeddingsPerCall | var maxEmbeddingsPerCall: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.message | var message: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.message | var message: String | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.modelID | var modelID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.name | var name: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.originalError | var originalError: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.path | var path: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.provider | var provider: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.provider | var provider: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.reason | var reason: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.repairedInput | var repairedInput: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.requestBody | var requestBody: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.response | var response: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.responseBody | var responseBody: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.responseHeaders | var responseHeaders: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.schema | var schema: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.statusCode | var statusCode: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.statusCode | var statusCode: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolCallID | var toolCallID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolCallIDs | var toolCallIDs: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolName | var toolName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolName | var toolName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.toolName | var toolName: String | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.type | var type: GatewayErrorType | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.upstreamType | var upstreamType: String { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Instance Property | SwiftAIProvider.url | var url: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.validationError | var validationError: AITypeValidationError? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.value | var value: JSONValue? | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAIProvider.values | var values: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Instance Property | SwiftAISDK.chunkID | var chunkID: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.chunkType | var chunkType: String? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.description | var description: String { get } | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.message | var message: String | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.rawValue | var rawValue: JSONValue? | Sources/SwiftAISDK/Errors.swift |
| Instance Property | SwiftAISDK.validationIssues | var validationIssues: [AIUIMessageValidationIssue] | Sources/SwiftAISDK/Errors.swift |
| Structure | SwiftAI.AINoOutputError | struct AINoOutputError | Packages/swift-ai-core/Sources/SwiftAI/Errors.swift |
| Structure | SwiftAIProvider.AIAPICallError | struct AIAPICallError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIInvalidToolApprovalError | struct AIInvalidToolApprovalError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIInvalidToolApprovalSignatureError | struct AIInvalidToolApprovalSignatureError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIInvalidToolInputError | struct AIInvalidToolInputError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIMissingToolResultsError | struct AIMissingToolResultsError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AINoSuchToolError | struct AINoSuchToolError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIToolCallNotFoundForApprovalError | struct AIToolCallNotFoundForApprovalError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AIToolCallRepairError | struct AIToolCallRepairError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AITooManyEmbeddingValuesForCallError | struct AITooManyEmbeddingValuesForCallError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AITypeValidationContext | struct AITypeValidationContext | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.AITypeValidationError | struct AITypeValidationError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Structure | SwiftAIProvider.GatewayError | struct GatewayError | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |
| Structure | SwiftAISDK.AIUIMessageStreamError | struct AIUIMessageStreamError | Sources/SwiftAISDK/Errors.swift |
| Type Method | SwiftAIProvider.apiCall(provider:statusCode:body:headers:) | static func apiCall(provider: String, statusCode: Int, body: String, headers: [String : String] = [:]) -> AIError | Packages/swift-ai-core/Sources/SwiftAIProvider/Errors.swift |
| Type Property | SwiftAIProvider.notFound | static let notFound: GatewayErrorType | Packages/swift-ai-core/Sources/SwiftAIProvider/GatewayErrors.swift |