Reinforcement Learning  1.1
err_constants.h
Go to the documentation of this file.
1 
8 #pragma once
9 
11 #define ERROR_CODE_DEFINITION(code, name, message) \
12  namespace reinforcement_learning \
13  { \
14  namespace error_code \
15  { \
16  const int name = code; \
17  char const* const name##_s = message; \
18  } \
19  }
21 
22 #include "errors_data.h"
23 
24 namespace reinforcement_learning
25 {
26 namespace error_code
27 {
28 // Success code
29 const int success = 0;
30 } // namespace error_code
31 } // namespace reinforcement_learning
32 
33 namespace reinforcement_learning
34 {
35 namespace error_code
36 {
37 char const* const unknown_s = "Unexpected error.";
38 }
39 } // namespace reinforcement_learning
40 
41 #undef ERROR_CODE_DEFINITION
[Error Generator]
Definition: live_model.h:25