Camargue
|
Structure for converting retcodes to exceptions. More...
#include <err_util.hpp>
Public Member Functions | |
retcode_error (const int rval, const std::string &func_name) | |
Construct a retcode_error with retcode and function name. More... | |
Structure for converting retcodes to exceptions.
To be used with retcode-returning functions where different values signify different errors, meaningful for lookup.
|
inline |
Construct a retcode_error with retcode and function name.
[in] | rval | the retcode from the function |
[in] | func_name | the name of the function that may fail, or a brief description of the task it performs. |