Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SecurityStatusPal.cs
Go to the documentation of this file.
1namespace System.Net;
2
3internal readonly struct SecurityStatusPal
4{
6
7 public readonly Exception Exception;
8
10 {
11 ErrorCode = errorCode;
13 }
14
15 public override string ToString()
16 {
17 if (Exception == null)
18 {
19 return $"{"ErrorCode"}={ErrorCode}";
20 }
21 return $"{"ErrorCode"}={ErrorCode}, {"Exception"}={Exception}";
22 }
23}
readonly System.Net.SecurityStatusPalErrorCode ErrorCode
readonly SecurityStatusPalErrorCode ErrorCode
SecurityStatusPal(SecurityStatusPalErrorCode errorCode, Exception exception=null)