Exception thrown by the default parse error implementation.
More...
#include <error.hpp>
Exception thrown by the default parse error implementation.
To obtain the full error message containing context, use err_parse_format(), or the helper format_exc().
- Note
- This exception derives from ExceptionBasic and can be catched using either type.
-
Available only if RYML_DEFAULT_CALLBACK_USES_EXCEPTIONS is defined, and RYML_NO_DEFAULT_CALLBACKS is NOT defined.
Definition at line 496 of file error.hpp.
◆ ExceptionParse()
| c4::yml::ExceptionParse::ExceptionParse |
( |
csubstr |
msg, |
|
|
ErrorDataParse const & |
errdata_ |
|
) |
| |
|
noexcept |
◆ what()
| const char* c4::yml::ExceptionBasic::what |
( |
| ) |
const |
|
inlineoverridenoexceptinherited |
Definition at line 480 of file error.hpp.
char msg[RYML_ERRMSG_SIZE]
the reported error message, without location indication.
◆ errdata_parse
◆ errdata_basic
◆ msg
the reported error message, without location indication.
Definition at line 482 of file error.hpp.
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/v0.13.0/src/c4/yml/error.hpp