DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CreateError()

static proto int ErrorModuleHandler::CreateError ( ErrorCategory category,
int code )
staticprivate

Creates full error code.

Аргументы
categoryErrorCategory Category the error is thrown from
codeint The code that the error belongs to inside the category between [-32768, 32767]
Возвращает
int The full error code
int errorCode = ErrorModuleHandler.CreateError( ErrorCategory.ConnectErrorClient, -1 );
Print( errorCode );
>> errorCode = 196607
ErrorCategory
ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it cam...
Определения ErrorModuleHandler.c:5
static proto int CreateError(ErrorCategory category, int code)
Creates full error code.
The error handler itself, for managing and distributing errors to modules Manages the ErrorHandlerMod...
Определения ErrorModuleHandler.c:29
proto void Print(void var)
Prints content of variable to console/log.