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

◆ AddJsonExceptionInformation() [2/2]

static void System.Text.Json.ThrowHelper.AddJsonExceptionInformation ( ref WriteStack state,
JsonException ex )
inlinestatic

Definition at line 956 of file ThrowHelper.cs.

957 {
958 string text2 = (ex.Path = state.PropertyPath());
959 string text3 = ex._message;
960 if (string.IsNullOrEmpty(text3))
961 {
964 }
965 if (ex.AppendPathInformation)
966 {
967 text3 = text3 + " Path: " + text2 + ".";
968 ex.SetMessage(text3);
969 }
970 }
static string SerializeUnableToSerialize
Definition SR.cs:200
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.Text.Json.Dictionary, System.SR.Format(), System.SR.SerializeUnableToSerialize, and System.state.