Errors occurring during PC SDK use can be divided into two big categories.
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 Error Codes page.
If an error occurs in an unsynchronized function among the PC SDK functions, the OnError
callback is called, and a StovePCError
structure including the description of the error is delivered.
/*Delivered when the OnError callback is called.*/
struct StovePCError
{
/*Enum value showing the called function*/
StovePCFunctionType functionType;
/*Enum value showing the error type*/
StovePCResult result;
/*Error message*/
char* message;
/*Error codes for external errors(http error, external module error)*/
int externalError;
};