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