Vowpal Wabbit
Loading...
Searching...
No Matches
vowpalwabbit
io
include
vw
io
Namespaces
|
Macros
|
Functions
errno_handling.h File Reference
#include "
vw/common/vw_exception.h
"
#include <sstream>
#include <string>
Namespaces
namespace
VW
namespace
VW::io
Macros
#define
THROWERRNO
(args)
Functions
std::string
VW::io::strerror_to_string
(int error_number)
Macro Definition Documentation
◆
THROWERRNO
#define THROWERRNO
(
args
)
Value:
{ \
std::ostringstream __msg; \
__msg << args; \
__msg <<
", errno = "
<<
VW::io::strerror_to_string
(errno); \
throw
VW::vw_exception
(
VW_FILENAME
, __LINE__, __msg.str()); \
}
VW::vw_exception
Definition:
vw_exception.h:33
VW::io::strerror_to_string
std::string strerror_to_string(int error_number)
VW_FILENAME
#define VW_FILENAME
Definition:
vw_exception.h:25
Generated by
1.9.5