zorba::os_error::exception#include <zorba/util/error_util.h> An exception is-a std::runtime_error for reporting errors with operating system or library functions.Public Functions
Protected Attributesfunction_std::string function_
message_std::string message_
path_std::string path_
Public Functionsexception exception(char const *function, char const *path, char const *err_string=nullptr) Constructs an exception.
Parameters
functionstd::string const & function() const Gets the name of the function that failed.
ReturnsReturns said function name.pathstd::string const & path() const Gets the full path of the file or directory involved in the failure.
ReturnsReturns said path.whatchar const * what() const
~exception ~exception() Destroys an exception.
|