We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d9d6ae commit 8a2059aCopy full SHA for 8a2059a
stdlib/Sockets/docs/src/index.md
@@ -10,6 +10,7 @@ Sockets.getaddrinfo
10
Sockets.getipaddr
11
Sockets.getipaddrs
12
Sockets.getalladdrinfo
13
+Sockets.DNSError
14
Sockets.getnameinfo
15
Sockets.getsockname
16
Sockets.getpeername
stdlib/Sockets/src/addrinfo.jl
@@ -1,5 +1,12 @@
1
# This file is a part of Julia. License is MIT: https://julialang.org/license
2
3
+"""
4
+ DNSError
5
+
6
+The type of exception thrown when an error occurs in DNS lookup.
7
+The `host` field indicates the host URL string.
8
+The `code` field indicates the error code based on libuv.
9
struct DNSError <: Exception
host::String
code::Int32
0 commit comments