powerd++
0.4.4
|
Common error handling code. More...
#include "utility.hpp"
Go to the source code of this file.
Classes | |
struct | errors::Exception |
Exceptions bundle an exit code, errno value and message. More... | |
Namespaces | |
errors | |
Common error handling types and functions. | |
Functions | |
void | errors::fail (Exit const exitcode, int const err, std::string const &msg) |
Throws an Exception instance with the given message. More... | |
Variables | |
const char *const | errors::ExitStr [] |
Printable strings for exit codes. More... | |
Common error handling code.