LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
Loading...
Searching...
No Matches
LootLocker.LootLockerErrorData Class Reference

Error information returned when a LootLocker API call fails. More...

Public Member Functions

override string ToString ()
 An easy way of debugging LootLockerErrorData class, example: Debug.Log(onComplete.errorData);.
 

Properties

string code [get, set]
 A descriptive code identifying the error.
 
string doc_url [get, set]
 A link to further documentation on the error.
 
string request_id [get, set]
 A unique identifier of the request to use in contact with support.
 
string trace_id [get, set]
 A unique identifier for tracing the request through LootLocker systems, use this in contact with support.
 
string message [get, set]
 If the request was not a success this property will hold any error messages.
 
int? retry_after_seconds = null [get, set]
 If the request was rate limited (status code 429) or the servers were temporarily unavailable (status code 503) you can use this value to determine how many seconds to wait before retrying.
 

Detailed Description

Error information returned when a LootLocker API call fails.

Contains error codes, messages, and debugging information for troubleshooting.

Member Function Documentation

◆ ToString()

override string LootLocker.LootLockerErrorData.ToString ( )
inline

An easy way of debugging LootLockerErrorData class, example: Debug.Log(onComplete.errorData);.

Returns
string used to debug errors