You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Runtime/Client/LootLockerServerRequest.cs
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,15 @@ public class LootLockerErrorData
116
116
/// If the request was not a success this property will hold any error messages
117
117
/// </summary>
118
118
publicstringmessage{get;set;}
119
+
120
+
/// <summary>
121
+
/// An easy way of debugging LootLockerErrorData class, example: Debug.Log(onComplete.errorData);
122
+
/// </summary>
123
+
/// <returns>string used to debug errors</returns>
124
+
publicoverridestringToString()
125
+
{
126
+
return$"We encountered an unexpected server error. Please try again later.\n If the issue persists, please contact LootLocker support and reference the following error details:\n trace ID - {trace_id},\n request ID - {request_id},\n message - {message}.";
127
+
}
119
128
}
120
129
121
130
/// <summary>
@@ -174,9 +183,12 @@ public static T Deserialize<T>(LootLockerResponse serverResponse,
174
183
{
175
184
returnLootLockerResponseFactory.Error<T>("Unknown error, please check your internet connection.");
0 commit comments