aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os.zig
diff options
context:
space:
mode:
authorLuna <git@l4.pm>2019-11-02 16:46:48 -0300
committerAndrew Kelley <andrew@ziglang.org>2019-11-02 15:49:15 -0400
commit2e0dd5733f9aec168f72167ca0a0e306b2810ae2 (patch)
treee59caa6d349e7b9f6147acf401aa0f4322382f92 /lib/std/os.zig
parentd535bf2c7d22ff2039158bfa8d21bfb012a34c0c (diff)
downloadzig-2e0dd5733f9aec168f72167ca0a0e306b2810ae2.tar.gz
zig-2e0dd5733f9aec168f72167ca0a0e306b2810ae2.zip
add FileNotFound to os.ConnectError error set
Diffstat (limited to 'lib/std/os.zig')
-rw-r--r--lib/std/os.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/std/os.zig b/lib/std/os.zig
index 0b1e62d63d..efddc9aafb 100644
--- a/lib/std/os.zig
+++ b/lib/std/os.zig
@@ -1919,6 +1919,9 @@ pub const ConnectError = error{
/// This error occurs when no global event loop is configured,
/// and connecting to the socket would block.
WouldBlock,
+
+ /// The given path for the unix socket does not exist.
+ FileNotFound,
} || UnexpectedError;
/// Initiate a connection on a socket.