rapidyaml  0.16.0
parseandemitYAML,anddoitfast
c4::yml::ErrorDataBasic Struct Reference

Data for a basic error. More...

#include <common.hpp>

Public Member Functions

 ErrorDataBasic () noexcept=default
 
 ErrorDataBasic (Location const &cpploc_) noexcept
 

Public Attributes

Location location
 location where the error was detected (may be from YAML or C++ source code) More...
 

Detailed Description

Data for a basic error.

Definition at line 259 of file common.hpp.

Constructor & Destructor Documentation

c4::yml::ErrorDataBasic::ErrorDataBasic ( )
defaultnoexcept
c4::yml::ErrorDataBasic::ErrorDataBasic ( Location const &  cpploc_)
inlinenoexcept

Definition at line 263 of file common.hpp.

263 : location(cpploc_) {}
Location location
location where the error was detected (may be from YAML or C++ source code)
Definition: common.hpp:261

Member Data Documentation

Location c4::yml::ErrorDataBasic::location

location where the error was detected (may be from YAML or C++ source code)

Definition at line 261 of file common.hpp.

Referenced by c4::yml::err_basic_format(), ErrorHandlerExample::on_error_basic(), sample_error_basic(), sample_error_parse(), and sample_error_visit().


The documentation for this struct was generated from the following file: