|
Vowpal Wabbit
|
Helper class used in report_error template funcstions to return status from API calls. More...
#include <api_status.h>
Public Member Functions | |
| status_builder (i_trace *trace, api_status *status, int code) | |
| Construct a new status builder object. More... | |
| ~status_builder () | |
| operator int () const | |
| return the status when cast to an int More... | |
| status_builder (const status_builder &&)=delete | |
| status_builder (const status_builder &)=delete | |
| status_builder & | operator= (const status_builder &)=delete |
| status_builder & | operator= (status_builder &&)=delete |
Helper class used in report_error template funcstions to return status from API calls.
| VW::experimental::status_builder::status_builder | ( | i_trace * | trace, |
| api_status * | status, | ||
| int | code | ||
| ) |
Construct a new status builder object.
| trace | i_trace object which can be null |
| status | api_status object which can be null |
| code | Error code |
| VW::experimental::status_builder::~status_builder | ( | ) |
|
delete |
|
delete |
| VW::experimental::status_builder::operator int | ( | ) | const |
return the status when cast to an int
|
delete |
|
delete |