Wizard
Software Engineering Project - Wizard
|
#include <exception.h>
Public Member Functions | |
sys_error () | |
sys_error (int err) | |
int | error () const |
Static Public Member Functions | |
static std::string | error_str (int err) |
System error. These are errors that are resulted from system socket calls. The error codes are platform 'errno' values (or similar), and the messages are typically derived from the system.
|
inline |
Creates an error using the current system 'errno' value.
|
explicit |
Constructs an error with the specified system errno.
err | The error number. This is the system errno value. |
|
inline |
Get the error number.
|
static |
Gets a string describing the specified error. This is typically the returned message from the system strerror().
err | The system error number. |