Exception type for errors originating from the XML API.
More...
#include <donut/xml.hpp>
|
std::string_view::iterator | position |
| Iterator into the source XML string where the error originated from. More...
|
|
std::size_t | lineNumber |
| Line number, starting at 1 for the first line, where the error occured. More...
|
|
Exception type for errors originating from the XML API.
◆ Error() [1/2]
donut::xml::Error::Error |
( |
const std::string & |
message, |
|
|
std::string_view::iterator |
position, |
|
|
std::size_t |
lineNumber |
|
) |
| |
|
inline |
◆ Error() [2/2]
donut::xml::Error::Error |
( |
const char * |
message, |
|
|
std::string_view::iterator |
position, |
|
|
std::size_t |
lineNumber |
|
) |
| |
|
inline |
◆ position
std::string_view::iterator donut::xml::Error::position |
Iterator into the source XML string where the error originated from.
◆ lineNumber
std::size_t donut::xml::Error::lineNumber |
Line number, starting at 1 for the first line, where the error occured.
The documentation for this struct was generated from the following file: