Define MGB_CATCH_ALL_EXCEPTION

Define Documentation

MGB_CATCH_ALL_EXCEPTION(_scope_msg, _ptr)

catch all exceptions and store in an exception_ptr; usually used in worker threads

This macro should be inserted after a try block

Parameters
  • _scope_msg: const char* type text to describe where this exception is caught