Sponge
CS144's user-space TCP library
|
a tagged_error for syscalls More...
#include <util.hh>
Public Member Functions | |
unix_error (const std::string &attempt, const int error=errno) | |
Public Member Functions inherited from tagged_error | |
tagged_error (const std::error_category &category, const std::string &attempt, const int error_code) | |
Construct from a category, an attempt, and an error code. More... | |
const char * | what () const noexcept override |
Returns a C string describing the error. More... | |
Public Member Functions inherited from std::system_error | |
T | system_error (T... args) |
T | code (T... args) |
T | what (T... args) |
a tagged_error for syscalls
|
inlineexplicit |