struct Initializer {
Initializer() {
- registerCxaThrowCallback(
- [](void*, std::type_info*, void (*)(void*)) { addActiveException(); });
+ registerCxaThrowCallback([](
+ void*, std::type_info*, void (*)(void*)) noexcept {
+ addActiveException();
+ });
- registerCxaBeginCatchCallback(
- [](void*) { moveTopException(activeExceptions, caughtExceptions); });
+ registerCxaBeginCatchCallback([](void*) noexcept {
+ moveTopException(activeExceptions, caughtExceptions);
+ });
- registerCxaRethrowCallback(
- []() { moveTopException(caughtExceptions, activeExceptions); });
+ registerCxaRethrowCallback([]() noexcept {
+ moveTopException(caughtExceptions, activeExceptions);
+ });
- registerCxaEndCatchCallback([]() {
+ registerCxaEndCatchCallback([]() noexcept {
if (invalid) {
return;
}
}
});
- registerRethrowExceptionCallback(
- [](std::exception_ptr) { addActiveException(); });
+ registerRethrowExceptionCallback([](std::exception_ptr) noexcept {
+ addActiveException();
+ });
try {
::folly::exception_tracer::installHandlers();