We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a33a0db commit cbe62bcCopy full SHA for cbe62bc
Sources/openai-async-image-swiftui/enum/AsyncImageErrors.swift
@@ -28,8 +28,8 @@ extension AsyncImageErrors: LocalizedError {
28
return NSLocalizedString("Client not found. The URL might be invalid.", comment: "")
29
case .returnedNoImages:
30
return NSLocalizedString("The response did not contain any images.", comment: "")
31
- case .httpStatus(let status):
32
- return NSLocalizedString("HTTP status error: \(status).", comment: "")
+ case .httpStatus(let description):
+ return NSLocalizedString(description, comment: "")
33
case .responseError(let error):
34
return error.localizedDescription
35
}
0 commit comments