The errors that occur while using the PC SDK are usually one of two cases.
StovePCResult Enum Values Returned After Method Calls
All PC SDK's functions will return a StovePCResult enum value immediately after calling to mark whether the call was successful.
StovePCError Structure Delivered Through OnError callbacks
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;
}
Plain Text
복사