Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template parse_error

boost::parser::parse_error

Synopsis

// In header: <boost/parser/error_handling_fwd.hpp>

template<typename Iter> 
struct parse_error : public std::runtime_error {

  // public member functions
  parse_error(Iter, std::string const &);

  // public data members
  Iter iter;
};

Description

The exception thrown when a parse error is encountered, consisting of an iterator to the point of failure, and the name of the failed parser or rule in what().

parse_error public member functions

  1. parse_error(Iter it, std::string const & msg);

PrevUpHomeNext