summaryrefslogtreecommitdiff
path: root/error.h
blob: b70085fd2fe5c1813767853537af55e334befe69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <string>

typedef unsigned int ErrCode;

#define NOERR 0
#define ERR_NON_FATAL 110
#define ERR_FATAL 120
#define ERR_CFG_NON_FATAL 210
#define ERR_CFG_FATAL 220

struct Err
{
	ErrCode code;
	std::string errorMessage;
};