Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cbe62bc

Browse files
Update AsyncImageErrors.swift
1 parent a33a0db commit cbe62bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Sources/openai-async-image-swiftui/enum/AsyncImageErrors.swift‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ extension AsyncImageErrors: LocalizedError {
2828
return NSLocalizedString("Client not found. The URL might be invalid.", comment: "")
2929
case .returnedNoImages:
3030
return NSLocalizedString("The response did not contain any images.", comment: "")
31-
case .httpStatus(let status):
32-
return NSLocalizedString("HTTP status error: \(status).", comment: "")
31+
case .httpStatus(let description):
32+
return NSLocalizedString(description, comment: "")
3333
case .responseError(let error):
3434
return error.localizedDescription
3535
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /