13 notes_.push_back(lines);
14 note_tag_counts_[tag]++;
19 warn_notes_.push_back(lines);
20 warn_note_tag_counts_[tag]++;
25 warnings_.push_back(lines);
26 warning_tag_counts_[tag]++;
31 errors_.push_back(lines);
32 error_tag_counts_[tag]++;
38 fatal_proximates_.push_back(
err.details(formatter));
44 fatal_steps_.push_back(
err.details(formatter));
50 fatal_roots_.push_back(
err.details(formatter));
void warn(const std::string &tag, const std::vector< std::string > &lines) const override
Display a multi-line tagged warning message.
void emit_fatal_root(const Error &err) const override
Emit the root cause error in a fatal error chain.
void emit_fatal_proximate(const Error &err) const override
Emit the proximate (immediate) error in a fatal error chain.
void err(const std::string &tag, const std::vector< std::string > &lines) const override
Display a multi-line tagged error message.
void warn_note(const std::string &tag, const std::vector< std::string > &lines) const override
Display a multi-line tagged warning note message.
void note(const std::string &tag, const std::vector< std::string > &lines) const override
Display a multi-line tagged informational note message.
void emit_fatal_step(const Error &err) const override
Emit an intermediate step error in a fatal error chain.
Abstract interface for all error types used in ChainableResult error chains.
TextFormatter implementation that strips all styling from text.