folly::uncaught_exceptions

uncaught_exceptions

Synopsis

Declared in <folly/lang/Exception.h>

int
uncaught_exceptions() noexcept;

Description

An accelerated version of std::uncaught_exceptions.

mimic: std::uncaught_exceptions, c++17

Return Value

The number of exceptions currently being handled on this thread.