native macOS codings agent orchestrator prowl.onev.cat
Something went wrong. Try again.
Swift
12345678910111213141516171819import Foundation
nonisolated enum GithubCLIError: LocalizedError, Equatable { case unavailable case outdated case commandFailed(String)
var errorDescription: String? { switch self { case .unavailable: return String(localized: "GitHub CLI is unavailable") case .outdated: return String(localized: "GitHub CLI is outdated. Update to the latest version.") case .commandFailed(let message): return message } }}