26 report +=
" " + std::string(
loc.fFunction) +
" [" + std::string(
loc.fSourceFile) +
":" +
27 std::to_string(
loc.fSourceLine) +
"]\n";
49#if __cplusplus >= 201703L
50 if (std::uncaught_exceptions() == 0)
52 if (!std::uncaught_exception())
57 R__LOG_WARNING() <<
"unhandled RResult exception during stack unwinding";
#define R__unlikely(expr)
#define R__LOG_WARNING(...)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
RError(std::string_view message, RLocation &&sourceLocation)
Used by R__FAIL.
void AddFrame(RLocation &&sourceLocation)
Used by R__FORWARD_RESULT.
std::string fMessage
User-facing error message.
std::vector< RLocation > fStackTrace
The location of the error related to fMessage plus upper frames if the error is forwarded through the...
std::string GetReport() const
Format a dignostics report, e.g. for an exception message.
Base class for all ROOT issued exceptions.
~RResultBase() noexcept(false)
void Throw()
Throws an RException with fError.