AnnErrorCode.hpp File Reference

Define a series of hex code as constant keywords to define error codes. More...

#include <string>
Include dependency graph for AnnErrorCode.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ANN_ERR_CRITIC   0xDEAD60D
 
#define ANN_ERR_MEMORY   0xFAA760D
 
#define ANN_ERR_RENDER   0x5ADE60D
 
#define ANN_ERR_INFILE   0x12F1D31
 
#define ANN_ERR_UNKOWN   0x200760D
 
#define ANN_ERR_NOTINIT   0x207760D
 
#define ANN_ERR_CANTHMD   0xB12D60D
 

Typedefs

using LPCWSTR = const wchar_t *
 

Functions

void displayWin32ErrorMessage (const std::string &title, const std::string &content)
 

Detailed Description

Define a series of hex code as constant keywords to define error codes.

Author
A. Brainville (Ybalrid)

Definition in file AnnErrorCode.hpp.

Macro Definition Documentation

◆ ANN_ERR_CANTHMD

#define ANN_ERR_CANTHMD   0xB12D60D

Definition at line 47 of file AnnErrorCode.hpp.

◆ ANN_ERR_CRITIC

#define ANN_ERR_CRITIC   0xDEAD60D

Definition at line 8 of file AnnErrorCode.hpp.

◆ ANN_ERR_INFILE

#define ANN_ERR_INFILE   0x12F1D31

Definition at line 28 of file AnnErrorCode.hpp.

◆ ANN_ERR_MEMORY

#define ANN_ERR_MEMORY   0xFAA760D

Definition at line 13 of file AnnErrorCode.hpp.

◆ ANN_ERR_NOTINIT

#define ANN_ERR_NOTINIT   0x207760D

Definition at line 41 of file AnnErrorCode.hpp.

◆ ANN_ERR_RENDER

#define ANN_ERR_RENDER   0x5ADE60D

Definition at line 20 of file AnnErrorCode.hpp.

◆ ANN_ERR_UNKOWN

#define ANN_ERR_UNKOWN   0x200760D

Definition at line 36 of file AnnErrorCode.hpp.

Typedef Documentation

◆ LPCWSTR

using LPCWSTR = const wchar_t*

Definition at line 55 of file AnnErrorCode.hpp.

Function Documentation

◆ displayWin32ErrorMessage()

void displayWin32ErrorMessage ( const std::string title,
const std::string content 
)
inline

Definition at line 60 of file AnnErrorCode.hpp.

Here is the call graph for this function:
Here is the caller graph for this function: