Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ThrowHelper.cs
Go to the documentation of this file.
1
namespace
System.Net.Quic.Implementations.MsQuic
;
2
3
internal
static
class
ThrowHelper
4
{
5
internal
static
Exception
GetConnectionAbortedException
(
long
errorCode)
6
{
7
if
(errorCode == -1)
8
{
9
return
new
QuicOperationAbortedException
();
10
}
11
return
new
QuicConnectionAbortedException
(errorCode);
12
}
13
14
internal
static
Exception
GetStreamAbortedException
(
long
errorCode)
15
{
16
if
(errorCode == -1)
17
{
18
return
new
QuicOperationAbortedException
();
19
}
20
return
new
QuicStreamAbortedException
(errorCode);
21
}
22
}
System.Exception
Definition
Exception.cs:15
System.Net.Quic.Implementations.MsQuic.ThrowHelper.GetStreamAbortedException
static Exception GetStreamAbortedException(long errorCode)
Definition
ThrowHelper.cs:14
System.Net.Quic.Implementations.MsQuic.ThrowHelper.GetConnectionAbortedException
static Exception GetConnectionAbortedException(long errorCode)
Definition
ThrowHelper.cs:5
System.Net.Quic.Implementations.MsQuic.ThrowHelper
Definition
ThrowHelper.cs:4
System.Net.Quic.QuicConnectionAbortedException
Definition
QuicConnectionAbortedException.cs:4
System.Net.Quic.QuicOperationAbortedException
Definition
QuicOperationAbortedException.cs:4
System.Net.Quic.QuicStreamAbortedException
Definition
QuicStreamAbortedException.cs:4
System.Net.Quic.Implementations.MsQuic
Definition
MsQuicAddressHelpers.cs:4
source
System.Net.Quic
System.Net.Quic.Implementations.MsQuic
ThrowHelper.cs
Generated by
1.10.0