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 UMyStoveSDKObject::OnError
callback and delivers a StovePCError
structure with a description of the error.
/*Delivered when an OnError callback is called.*/
struct StovePCError
{
/*enum value which indicates the called function*/
StovePCFunctionType functionType;
/*enum value which indicates the occurred error type*/
StovePCResult result;
/*Occurred Error Message*/
char* message;
/*The corresponding error code if an external error (http error, external module error) has occurred*/
int externalError;
};