Argentum Online - Cliente
engine_error.h
1
#ifndef __ERROR_H
2
#define __ERROR_H
3
4
/* ------ Includes ---------*/
5
#include <string>
6
#include <typeinfo>
7
8
#define BUF_LEN 256
9
10
/* ------ Interfaz ---------*/
11
class
EngineError
:
public
std::exception {
12
private
:
13
char
msg_error[BUF_LEN];
14
15
public
:
16
explicit
EngineError
(
const
char
* fmt, ...) noexcept;
17
virtual
const
char
* what()
const
noexcept;
18
virtual
~
EngineError
() noexcept {}
19
};
20
21
#endif
EngineError
Definition:
engine_error.h:11
client
engine
engine_error.h
Generado por
1.8.19