Circus 0.0.1-alpha
C++ Serialization Framework
|
Aggregates and manages parser error messages with support for logging and flushing. More...
#include <circus_error.hpp>
Public Member Functions | |
bool | empty () const noexcept |
Checks if there are any errors logged. | |
void | report (const flag_type &type, const std::string &message, std::pair< std::size_t, std::size_t > location) noexcept |
Reports an error by adding a formatted message to the error log stack. | |
void | log_errors () noexcept |
Logs all errors to std::clog and preserves the error stack. | |
void | flush_errors () noexcept |
Clears all errors from the error log stack. |
Aggregates and manages parser error messages with support for logging and flushing.