CppZmqZoltanExt 0.0.1
Loading...
Searching...
No Matches
zmqzext::zpl_parse_error Class Reference

Exception thrown when a badly formatted ZPL input is encountered during parsing. More...

#include <zpl_config.h>

Inheritance diagram for zmqzext::zpl_parse_error:
Collaboration diagram for zmqzext::zpl_parse_error:

Public Member Functions

 zpl_parse_error (std::string message, std::size_t line)
 Construct a parse error with message and line.
 
std::size_t line () const noexcept
 Get the line number where the parse error occurred.
 

Detailed Description

Exception thrown when a badly formatted ZPL input is encountered during parsing.

Definition at line 92 of file zpl_config.h.

Constructor & Destructor Documentation

◆ zpl_parse_error()

zmqzext::zpl_parse_error::zpl_parse_error ( std::string  message,
std::size_t  line 
)

Construct a parse error with message and line.

Parameters
messageError message describing the failure
lineLine number where the parse error occurred (1-based)

Definition at line 370 of file zpl_config.cpp.

Member Function Documentation

◆ line()

std::size_t zmqzext::zpl_parse_error::line ( ) const
noexcept

Get the line number where the parse error occurred.

Returns
1-based line number

Definition at line 372 of file zpl_config.cpp.


The documentation for this class was generated from the following files: