The errors that occur while using the PC SDK are usually one of two cases.
All PC SDK's functions will return a StovePCResult
enum value immediately after calling to mark whether the call was successful.
The entire value can be checked in the PC SDK Error Code page.
Suppose an error occurs in an asynchronous function during the PC SDK function. In that case, it calls a OnError
callback and delivers a StovePCError
structure with a description of the error.
// Delivered when the OnError callback is called.
public struct StovePCError
{
// Enum value showing the called function
public StovePCFunctionType FunctionType;
// Enum value showing the error type
public StovePCResult Result;
// Error message
public string Message;
// Error codes for external errors(http error, external module error)
public int ExternalError;
}