|
rapidyaml
0.12.0
parse and emit YAML, and do it fast
|
Definitions of error utilities used by ryml. More...
#include <c4/yml/error.hpp>Go to the source code of this file.
Namespaces | |
| c4 | |
| (Undefined by default) Use shorter error message from checks/asserts: do not show the check condition in the error message. | |
| c4::yml | |
Functions | |
| template<class DumpFn > | |
| size_t | c4::yml::location_format (DumpFn &&dumpfn, Location const &loc) |
| generic formatting of a location More... | |
| template<class DumpFn > | |
| void | c4::yml::location_format_with_context (DumpFn &&dumpfn, Location const &location, csubstr source_buffer, csubstr call="", size_t num_lines_before=3, size_t num_lines_after=0, size_t first_col_highlight=0, size_t last_col_highlight=0, size_t maxlen=80u) |
| Generic formatting of a location, printing the source code buffer region around the location. More... | |
| template<class DumpFn > | |
| void | c4::yml::err_basic_format (DumpFn &&dumpfn, csubstr msg, ErrorDataBasic const &errdata) |
| Given an error message and associated basic error data, format it fully as a basic error message. More... | |
| template<class DumpFn > | |
| void | c4::yml::err_parse_format (DumpFn &&dumpfn, csubstr msg, ErrorDataParse const &errdata) |
| Given an error message and associated parse error data, format it fully as a parse error message. More... | |
| template<class DumpFn > | |
| void | c4::yml::err_visit_format (DumpFn &&dumpfn, csubstr msg, ErrorDataVisit const &errdata) |
| Given an error message and associated visit error data, format it fully as a visit error message. More... | |
Definitions of error utilities used by ryml.
Definition in file error.def.hpp.