Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
donner::base::parser::ParseError Struct Reference

Error context for a failed parse, such as the error reason, line, and character offset. More...

#include "donner/base/parser/ParseError.h"

Collaboration diagram for donner::base::parser::ParseError:
[legend]

Public Attributes

std::string reason
 Error message string.
 
FileOffset location = FileOffset::Offset(0)
 Location of the error, containing a character offset and optional line number.
 

Friends

std::ostream & operator<< (std::ostream &os, const ParseError &error)
 Ostream output operator for ParseError, outputs the error message.
 

Detailed Description

Error context for a failed parse, such as the error reason, line, and character offset.

Examples
svg_to_png.cc, and svg_tree_interaction.cc.

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