style: change exception msg

This commit is contained in:
2026-06-18 18:45:36 -03:00
parent fd35bf91a0
commit 4f360a778b
+3 -3
View File
@@ -161,7 +161,7 @@ class Dumper
|| !TryGetProp(props, "Role", out EPlayerRole role)
|| !TryGetProp(props, "Inventory", out bool isInventory)
|| !TryGetProp(props, "IsFakeItem", out bool isFakeItem))
throw new KeyNotFoundException("Type, UIData, Role, Inventory or IsFakeItem was not found.");
throw new KeyNotFoundException($"Required properties missing for Item: {rowKey}");
UIDataStruct uiData = uiDataFb.MapToStruct<UIDataStruct>();
@@ -191,7 +191,7 @@ class Dumper
|| !TryGetProp(props, "UIData", out FStructFallback uiDataFb)
|| !TryGetProp(props, "Inventory", out bool isInventory)
|| !TryGetProp(props, "IsFakeItem", out bool isFakeItem))
throw new KeyNotFoundException("Role, UIData, Inventory or IsFakeItem was not found");
throw new KeyNotFoundException($"Required properties missing for offering: {rowKey}");
UIDataStruct uiData = uiDataFb.MapToStruct<UIDataStruct>();
@@ -224,7 +224,7 @@ class Dumper
|| !TryGetProp(props, "DlcIdEpic", out string epicId)
|| !TryGetProp(props, "DlcIdGRDK", out string grdkId)
)
throw new KeyNotFoundException("DLC id or DisplayName was not found");
throw new KeyNotFoundException($"Required properties missing for DLC: {rowKey}");
string? displayName = null;