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
 
 VW::experimental
 

Macros

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

Macro Definition Documentation

◆ RETURN_ERROR

#define RETURN_ERROR (   status,
  code 
)
Value:
do \
{ \
VW::experimental::api_status::try_update( \
status, VW::experimental::error_code::code, VW::experimental::error_code::code##_s); \
return VW::experimental::error_code::code; \
} while (0);

Error reporting macro that takes a list of parameters.