diff options
| author | Luna <git@l4.pm> | 2019-11-02 16:46:48 -0300 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-11-02 15:49:15 -0400 |
| commit | 2e0dd5733f9aec168f72167ca0a0e306b2810ae2 (patch) | |
| tree | e59caa6d349e7b9f6147acf401aa0f4322382f92 /lib/std/os.zig | |
| parent | d535bf2c7d22ff2039158bfa8d21bfb012a34c0c (diff) | |
| download | zig-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.zig | 3 |
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. |
