powerd++
0.4.4
|
Can be thrown by syscall function wrappers if the function returned with an error. More...
#include <error.hpp>
Public Member Functions | |
operator int () const | |
Cast to integer. More... | |
const char * | c_str () const |
Return c style string. More... | |
Public Attributes | |
int | error |
The errno set by the native C function. | |
Can be thrown by syscall function wrappers if the function returned with an error.
This is its own type for easy catching, but implicitly casts to int for easy comparison.
Domain | A type marking the domain the error comes from, e.g. sys::ctl::error |
|
inline |
Return c style string.
|
inline |
Cast to integer.