Vowpal Wabbit
Classes | Namespaces | Macros
api_status.h File Reference
#include <string>

Classes

class  VW::experimental::api_status
 Report status of all API calls. More...
 

Namespaces

 VW
 [Error Generator]
 
 VW::experimental
 

Macros

#define RETURN_ERROR(status, code)
 Error reporting macro that takes a list of parameters. More...
 

Macro Definition Documentation

#define RETURN_ERROR (   status,
  code 
)
Value:
do \
{ \
status, VW::experimental::error_code::code, VW::experimental::error_code::code##_s); \
return VW::experimental::error_code::code; \
} while (0);
static void try_update(api_status *status, int new_code, const char *new_msg)
Helper method for returning error object Checks to see if api_status is not null before setting the e...

Error reporting macro that takes a list of parameters.