RESTinio
|
Information about parsing error. More...
#include <easy_parser.hpp>
Public Member Functions | |
parse_error_t (std::size_t position, error_reason_t reason) noexcept | |
Initializing constructor. More... | |
RESTINIO_NODISCARD std::size_t | position () const noexcept |
Get the position in the input stream where error was detected. More... | |
RESTINIO_NODISCARD error_reason_t | reason () const noexcept |
Get the reason of the error. More... | |
Private Attributes | |
std::size_t | m_position |
Position in the input stream. More... | |
error_reason_t | m_reason |
The reason of the error. More... | |
|
inlinenoexcept |
Initializing constructor.
Definition at line 101 of file easy_parser.hpp.
|
inlinenoexcept |
Get the position in the input stream where error was detected.
Definition at line 111 of file easy_parser.hpp.
|
inlinenoexcept |
Get the reason of the error.
Definition at line 116 of file easy_parser.hpp.
|
private |
Position in the input stream.
Definition at line 95 of file easy_parser.hpp.
|
private |
The reason of the error.
Definition at line 97 of file easy_parser.hpp.