12 remarks_.push_back(lines);
13 remark_tag_counts_[tag]++;
18 remark_notes_.push_back(lines);
19 remark_note_tag_counts_[tag]++;
24 warning_notes_.push_back(lines);
25 warning_note_tag_counts_[tag]++;
30 error_notes_.push_back(lines);
31 error_note_tag_counts_[tag]++;
36 warnings_.push_back(lines);
37 warning_tag_counts_[tag]++;
42 errors_.push_back(lines);
43 error_tag_counts_[tag]++;
void warning_note(const std::string &tag, const std::vector< std::string > &lines) const override
Display a tagged note message associated with a warning.
void warning(const std::string &tag, const std::vector< std::string > &lines) const override
Display a tagged warning message.
void emit_fatal_step(const Error &err) const override
Emit an intermediate step error in a fatal error chain.
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 error(const std::string &tag, const std::vector< std::string > &lines) const override
Display a tagged error message.
void remark(const std::string &tag, const std::vector< std::string > &lines) const override
Display a tagged remark message.
void remark_note(const std::string &tag, const std::vector< std::string > &lines) const override
Display a tagged note message associated with a remark.
void error_note(const std::string &tag, const std::vector< std::string > &lines) const override
Display a tagged note message associated with an error.
Abstract interface for all error types used in ChainableResult error chains.
virtual std::vector< std::string > details(const TextFormatter &formatter) const =0
Returns a formatted multi-line string representation of the error.
const TextFormatter & formatter() const