nginxconfig
C++libraryforparsingandprintingnginx.conf
nginxconfig::parse_error Class Reference

Inherits std::runtime_error.

List of all members.

Public Member Functions

 parse_error (size_type line, size_type column, size_type character, std::string message)
size_type line () const
size_type column () const
size_type character () const
const std::string & message () const

Static Public Attributes

static constexpr size_type no_column = ~0

Detailed Description

Definition at line 26 of file parse.hpp.


Member Function Documentation

size_type nginxconfig::parse_error::character ( ) const [inline]

The character index into the entire input this error was encountered on.

Definition at line 49 of file parse.hpp.

size_type nginxconfig::parse_error::column ( ) const [inline]

The character index on the current line this error was encountered on.

Definition at line 46 of file parse.hpp.

size_type nginxconfig::parse_error::line ( ) const [inline]

The line of input this error was encountered on.

Definition at line 43 of file parse.hpp.

const std::string& nginxconfig::parse_error::message ( ) const [inline]

A message from the parser which has user-readable details about the encountered problem.

Definition at line 52 of file parse.hpp.


Member Data Documentation

constexpr size_type nginxconfig::parse_error::no_column = ~0 [static]

In some cases, problems do not occur at a specific column (such as EOF). In these cases, the value of column will be set to no_column.

Definition at line 35 of file parse.hpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Friends Defines