Skip to content

Commit ecdb6f5

Browse files
committed
Don’t break API
1 parent b639a34 commit ecdb6f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/PostgresNIO/New/PSQLError.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ public struct PSQLError: Error {
5454
public static let listenFailed = Self.init(.listenFailed)
5555
public static let unlistenFailed = Self.init(.unlistenFailed)
5656

57+
@available(*, deprecated, renamed: "clientClosesConnection")
58+
public static let connectionQuiescing = Self.clientClosesConnection
59+
60+
@available(*, deprecated, message: "Use the more specific `serverClosedConnection` or `clientClosedConnection` instead")
61+
public static let connectionClosed = Self.serverClosedConnection
62+
5763
public var description: String {
5864
switch self.base {
5965
case .sslUnsupported:

0 commit comments

Comments
 (0)