Skip to content

Commit b40a5c2

Browse files
committed
Correct the error type
1 parent 9a1a3f5 commit b40a5c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Swiftly/Proxy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public enum Proxy {
5858

5959
// Prevent circularities with a memento environment variable
6060
guard ProcessInfo.processInfo.environment["SWIFTLY_PROXY_IN_PROGRESS"] == nil else {
61-
throw Error(message: "Circular swiftly proxy invocation")
61+
throw SwiftlyError(message: "Circular swiftly proxy invocation")
6262
}
6363
let env = ["SWIFTLY_PROXY_IN_PROGRESS": "1"]
6464

0 commit comments

Comments
 (0)