mirror of
https://github.com/Homebrew/BrewUI.git
synced 2026-10-02 08:34:36 +08:00
OperationFailure and the repositories now carry data only; the new BrewRepositoryError names a malformed brew output, and BrewUIComponents/Copy/BrewErrorCopy is the one place those enums are worded. Replaces four duplicated userMessage(for:) switches. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
10 lines
254 B
Swift
10 lines
254 B
Swift
//
|
|
// RepositoryError.swift
|
|
// BrewRepositoryInterfaces
|
|
//
|
|
|
|
/// Failures a repository raises that are not `brew` exit codes or launch errors.
|
|
public enum BrewRepositoryError: Error, Equatable, Sendable {
|
|
case malformedBrewOutput(command: String)
|
|
}
|