add FileNotFound to os.ConnectError error set

This commit is contained in:
Luna 2019-11-02 16:46:48 -03:00 committed by Andrew Kelley
parent d535bf2c7d
commit 2e0dd5733f

View File

@ -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.