mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-06 06:37:36 +03:00
Add NETWORK_ERROR
This commit is contained in:
parent
ca7e5e5bcb
commit
06c0fbb65b
2 changed files with 5 additions and 3 deletions
|
@ -43,6 +43,7 @@ const (
|
|||
PluginsReturnCodeNXDomain
|
||||
PluginsReturnCodeResponseError
|
||||
PluginsReturnCodeServerError
|
||||
PluginsReturnCodeNetworkError
|
||||
PluginsReturnCodeCloak
|
||||
PluginsReturnCodeServerTimeout
|
||||
)
|
||||
|
@ -57,6 +58,7 @@ var PluginsReturnCodeToString = map[PluginsReturnCode]string{
|
|||
PluginsReturnCodeNXDomain: "NXDOMAIN",
|
||||
PluginsReturnCodeResponseError: "RESPONSE_ERROR",
|
||||
PluginsReturnCodeServerError: "SERVER_ERROR",
|
||||
PluginsReturnCodeNetworkError: "NETWORK_ERROR",
|
||||
PluginsReturnCodeCloak: "CLOAK",
|
||||
PluginsReturnCodeServerTimeout: "SERVER_TIMEOUT",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue