MCPcopy Create free account
hub / github.com/catboost/catboost / FormatExceptionTo

Function FormatExceptionTo

util/generic/yexception.cpp:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#include <cstdio>
14
15static void FormatExceptionTo(IOutputStream& out, const std::exception& exception) {
16 out << "(" << TypeName(exception) << ") " << exception.what();
17}
18
19TString FormatExc(const std::exception& exception) {
20 TStringStream out;

Callers 3

FormatExcFunction · 0.85
FormatBackTraceToFunction · 0.85
FormatCurrentExceptionToFunction · 0.85

Calls 2

TypeNameFunction · 0.50
whatMethod · 0.45

Tested by

no test coverage detected