Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
MsQuicStatusCodes.cs
Go to the documentation of this file.
1
namespace
System.Net.Quic.Implementations.MsQuic.Internal
;
2
3
internal
static
class
MsQuicStatusCodes
4
{
5
public
static
string
GetError
(uint status)
6
{
7
return
status
switch
8
{
9
0u =>
"SUCCESS"
,
10
459749u =>
"PENDING"
,
11
459998u =>
"CONTINUE"
,
12
2147942414u =>
"OUT_OF_MEMORY"
,
13
2147942487u =>
"INVALID_PARAMETER"
,
14
2147947423u =>
"INVALID_STATE"
,
15
2147500034u =>
"NOT_SUPPORTED"
,
16
2147943568u =>
"NOT_FOUND"
,
17
2147942522u =>
"BUFFER_TOO_SMALL"
,
18
2151743488u =>
"HANDSHAKE_FAILURE"
,
19
2147500036u =>
"ABORTED"
,
20
2147952448u =>
"ADDRESS_IN_USE"
,
21
2151743494u =>
"CONNECTION_TIMEOUT"
,
22
2151743493u =>
"CONNECTION_IDLE"
,
23
2147943632u =>
"UNREACHABLE"
,
24
2151743491u =>
"INTERNAL_ERROR"
,
25
2147943625u =>
"CONNECTION_REFUSED"
,
26
2151743492u =>
"PROTOCOL_ERROR"
,
27
2151743489u =>
"VER_NEG_ERROR"
,
28
2147953432u =>
"TLS_ERROR"
,
29
2151743490u =>
"USER_CANCELED"
,
30
2151743495u =>
"ALPN_NEG_FAILURE"
,
31
2151743496u =>
"STREAM_LIMIT_REACHED"
,
32
_ => $
"0x{status:X8}"
,
33
};
34
}
35
}
System.Net.Quic.Implementations.MsQuic.Internal.MsQuicStatusCodes.GetError
static string GetError(uint status)
Definition
MsQuicStatusCodes.cs:5
System.Net.Quic.Implementations.MsQuic.Internal.MsQuicStatusCodes
Definition
MsQuicStatusCodes.cs:4
System.Net.Quic.Implementations.MsQuic.Internal
Definition
MsQuicAddressHelpers.cs:4
source
System.Net.Quic
System.Net.Quic.Implementations.MsQuic.Internal
MsQuicStatusCodes.cs
Generated by
1.10.0