Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
errormodulehandler.c File Reference

Go to the source code of this file.

Data Structures

class  ErrorModuleHandler
 The error handler itself, for managing and distributing errors to modules Manages the ErrorHandlerModule instances inserted in Init. API comes with several functions to Create, Throw and extract data from error codes. The format used is an int which is made up of two shorts, one that holds the category and one that holds the code. Therefore when looking at an error code, it is much easier to identify when looking at the hex value. More...
 

Enumerations

enum  ErrorCategory {
  Unknown, Generic, ConnectErrorClient, ConnectErrorServer,
  ConnectErrorScript, ClientKicked, BIOSError
}
 ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it came from. More...
 

Enumeration Type Documentation

◆ ErrorCategory

ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it came from.

Enumerator
Unknown 
Generic 

Generic error group.

ConnectErrorClient 

Error group for when something went wrong while trying to connect to the server.

ConnectErrorServer 

Error group for when the Client did connect to the Server, but the server rejected the connection.

ConnectErrorScript 

Error group for connect errors thrown from Script.

ClientKicked 

Error group for when Client is kicked from server.

BIOSError 

Error group for BIOS errors.

Definition at line 4 of file errormodulehandler.c.