Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
ParseError Struct Reference

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

#include "donner/base/ParseError.h"

Collaboration diagram for ParseError:
[legend]

Public Attributes

RcString 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.

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