MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / UnixError

Class UnixError

include/Error.h:133–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131namespace util
132{
133 class UnixError : public Error
134 {
135 public:
136
137 UnixError(const char *method_) : Error(method_, strerror(errno)) {}
138 UnixError(const char *method_, int line) :
139 Error(method_, strerror(errno), line) {}
140 };
141}
142
143#define THROW_UNIX() throw(util::UnixError(__FUNCTION__, __LINE__))

Callers 3

waitMethod · 0.85
tryWaitMethod · 0.85
postMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected