The errors that occur while using the PC SDK are usually one of two cases.
StovePCResult enum value returned after calling the function
All PC SDK's functions will return a StovePCResult enum value immediately after calling to mark whether the call was successful.
The StovePCError structure delivered through the OnError callback.
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;
};
C++
복사