xtd 0.2.0
Loading...
Searching...
No Matches

◆ format_exception_

#define format_exception_ (   ...)

#include <xtd.core/include/xtd/format_exception.h>

Helper on xtd::format_exception to call it with current stack frame information.

Library
xtd.core
Remarks
Is equivalent to xtd::format_exception {{any argument}, csf_}
void my_func() {
if (invalid_info) throw format_exception_(); // same as : throw format_exception {csf_};
if (invalid_value) throw format_exception_("Bad value"); // same as : throw format_exception {"Bad value", csf_};
...
}
#define format_exception_(...)
Helper on xtd::format_exception to call it with current stack frame information.
Definition format_exception.h:99