We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a00ee commit c16162fCopy full SHA for c16162f
src/backend/io_uring.zig
@@ -732,6 +732,7 @@ pub const Completion = struct {
732
.shutdown => .{
733
.shutdown = if (res >= 0) {} else switch (@as(posix.E, @enumFromInt(-res))) {
734
.CANCELED => error.Canceled,
735
+ .NOTCONN => error.SocketNotConnected,
736
else => |errno| posix.unexpectedErrno(errno),
737
},
738
@@ -1083,6 +1084,7 @@ pub const ReadError = error{
1083
1084
1085
pub const ShutdownError = error{
1086
Canceled,
1087
+ SocketNotConnected,
1088
Unexpected,
1089
};
1090
0 commit comments