|
rapidyaml
0.8.0
parse and emit YAML, and do it fast
|
this is an example error handler, required for some of the quickstart examples. More...
Public Member Functions | |
| ryml::Callbacks | callbacks () |
| a helper to create the Callbacks object with the custom error handler More... | |
| void | on_error (const char *msg, size_t len, ryml::Location loc) |
| this is the where the callback implementation goes. More... | |
| template<class Fn > | |
| bool | check_error_occurs (Fn &&fn) const |
| template<class Fn > | |
| bool | check_assertion_occurs (Fn &&fn) const |
| void | check_effect (bool committed) const |
| ErrorHandlerExample () | |
Static Public Member Functions | |
| static void | s_error (const char *msg, size_t len, ryml::Location loc, void *this_) |
Public Attributes | |
| ryml::Callbacks | defaults |
this is an example error handler, required for some of the quickstart examples.
Definition at line 242 of file quickstart.cpp.