지원 프로그램
home
슬기로운 데모생활
home

Check Errors

생성일
2024/03/14 06:50
태그
Errors occurring during PC SDK use can be divided into two big categories.

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.

StovePCError Structure Delivered Through OnError callbacks

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; };
C++
복사