HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Errors.hpp
Go to the documentation of this file.
1
15
#ifndef ERROR_HPP
16
#define ERROR_HPP
17
18
19
namespace
HCE {
20
21
22
enum
{
23
ACTION_SUCCESS
=0
24
,
DOCUMENT_PRESENT
=
ACTION_SUCCESS
25
,
DOCUMENT_NOT_PRESENT
26
,
ACTION_PARSE_ERROR
27
,
ACTION_NOT_SUPPORT
28
,
ACTION_GENERAL_FAILURE
29
,
INVALID_MESSAGE_TYPE
30
,
INVALID_MESSAGE_BODY
31
,
INVALID_ADMIN_COMMAND
32
};
33
34
35
const
std::string
error_messages
[] = {
36
"status ok"
37
,
"documents not present"
38
,
"Parse error – wrong Json format"
39
,
"Action type error : not supported"
40
,
"General internal error of functional object"
41
,
"Invalid message type"
42
,
"Invalid message body"
43
,
"Invalid admin command"
44
};
45
46
47
}
48
49
50
#endif
sources
kvdb
src
Errors.hpp
Generated on Mon Jan 13 2014 13:08:37 for HCE project C++ developers source code library by
1.8.1.2