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

◆ operation_canceled_exception_

#define operation_canceled_exception_ (   ...)

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

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

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