Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToString()

override string System.Runtime.InteropServices.ExternalException.ToString ( )
inlineinherited

Definition at line 41 of file ExternalException.cs.

42 {
43 string message = Message;
44 string text = $"{GetType()} (0x{base.HResult:X8})";
45 if (!string.IsNullOrEmpty(message))
46 {
47 text = text + ": " + message;
48 }
49 Exception innerException = base.InnerException;
50 if (innerException != null)
51 {
52 text = text + "\r\n ---> " + innerException.ToString();
53 }
54 if (StackTrace != null)
55 {
56 text = text + "\r\n" + StackTrace;
57 }
58 return text;
59 }
virtual ? string StackTrace
Definition Exception.cs:143
virtual string Message
Definition Exception.cs:100

References System.Runtime.Serialization.Dictionary, System.Exception.InnerException, System.Exception.Message, System.Exception.StackTrace, System.text, and System.Exception.ToString().