header_utils
Loading...
Searching...
No Matches
ghassanpl::parsing::parse_error Struct Reference

An exception type that will be thrown when eating/parsing fails. More...

#include <parsing.h>

Public Member Functions

template<GHPL_FORMAT_TEMPLATE>
 parse_error (std::string_view where, GHPL_FORMAT_ARGS)

Public Attributes

std::string_view Where
 Starts at (or near) the point where the parsing failed.

Detailed Description

An exception type that will be thrown when eating/parsing fails.

Definition at line 67 of file parsing.h.

Constructor & Destructor Documentation

◆ parse_error()

template<GHPL_FORMAT_TEMPLATE>
ghassanpl::parsing::parse_error::parse_error ( std::string_view where,
GHPL_FORMAT_ARGS  )
inline

Definition at line 72 of file parsing.h.

Member Data Documentation

◆ Where

std::string_view ghassanpl::parsing::parse_error::Where

Starts at (or near) the point where the parsing failed.

Definition at line 69 of file parsing.h.