ADTF
|
Namespace for all functionality provided since v3.10. More...
Functions | |
std::string | nested_exceptions_to_string (const std::exception &error) |
Formats nested std::exceptions into a string, line by line. More... | |
std::string | current_exception_to_string () |
Trys to format the current exception into a string. More... | |
tResult | current_exception_to_result () |
Converts the current exception object into a tResult. More... | |
Namespace for all functionality provided since v3.10.
|
inline |
Converts the current exception object into a tResult.
Works for both tResult and std::exceptions.
Definition at line 154 of file ucom3/include/adtfucom3/exception_handling.h.
|
inline |
Trys to format the current exception into a string.
This works for std::exception and tResult exception objects.
Definition at line 123 of file ucom3/include/adtfucom3/exception_handling.h.
References nested_exceptions_to_string().
|
inline |
Formats nested std::exceptions into a string, line by line.
[in] | error | the exception |
Definition at line 111 of file ucom3/include/adtfucom3/exception_handling.h.
Referenced by current_exception_to_string().