Search
Duplicate

Checking Errors

생성일
2024/03/14 05:33
태그
상위 항목
하위 항목
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.
The entire value can be checked in the PC SDK Error Code page.

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
복사