Vowpal Wabbit
Loading...
Searching...
No Matches
Namespaces | Macros | Variables
error_constants.h File Reference
#include "error_data.h"

Namespaces

namespace  VW
 
namespace  VW::experimental
 
namespace  VW::experimental::error_code
 

Macros

#define ERROR_CODE_DEFINITION(code, name, message)
 

Variables

constexpr int VW::experimental::error_code::success = 0
 
char const *const VW::experimental::error_code::unknown_s = "Unexpected error."
 

Macro Definition Documentation

◆ ERROR_CODE_DEFINITION

#define ERROR_CODE_DEFINITION (   code,
  name,
  message 
)
Value:
namespace VW \
{ \
namespace experimental \
{ \
namespace error_code \
{ \
constexpr int name = code; \
char const* const name##_s = message; \
} \
} \
}
Definition: allreduce.h:70