MCPcopy Create free account
hub / github.com/ablab/spades / defaultErrorHandler

Method defaultErrorHandler

ext/src/llvm/WithColor.cpp:111–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109WithColor::~WithColor() { resetColor(); }
110
111void WithColor::defaultErrorHandler(Error Err) {
112 handleAllErrors(std::move(Err), [](ErrorInfoBase &Info) {
113 WithColor::error() << Info.message() << '\n';
114 });
115}
116
117void WithColor::defaultWarningHandler(Error Warning) {
118 handleAllErrors(std::move(Warning), [](ErrorInfoBase &Info) {

Callers

nothing calls this directly

Calls 3

handleAllErrorsFunction · 0.85
errorClass · 0.50
messageMethod · 0.45

Tested by

no test coverage detected