Make KeychainQuery errors type public (#210)

There have been a few issues filed in container
[here](https://github.com/apple/container/issues/254) and
[here](https://github.com/apple/container/issues/321), where people are
unable to pull or push to registries despite a successful login to that
registry.

Making this enum public so that we can get the error in container and
handle it correctly.

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
This commit is contained in:
Kathryn Baldauf
2025-07-11 15:45:17 -07:00
committed by GitHub
parent f254f48bfc
commit 133e7804c8
@@ -135,7 +135,7 @@ public struct KeychainQuery {
}
extension KeychainQuery {
enum Error: Swift.Error {
public enum Error: Swift.Error {
case unhandledError(status: Int32)
case unexpectedDataFetched
case keyNotPresent(key: String)