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. | |
std::size_t | position () const noexcept |
Get the position in the input stream where error was detected. | |
error_reason_t | reason () const noexcept |
Get the reason of the error. |
Private Attributes | |
std::size_t | m_position |
Position in the input stream. | |
error_reason_t | m_reason |
The reason of the error. |
|
inlinenoexcept |
Initializing constructor.
Definition at line 102 of file easy_parser.hpp.
|
inlinenodiscardnoexcept |
Get the position in the input stream where error was detected.
Definition at line 112 of file easy_parser.hpp.
|
inlinenodiscardnoexcept |
Get the reason of the error.
Definition at line 117 of file easy_parser.hpp.
|
private |
Position in the input stream.
Definition at line 96 of file easy_parser.hpp.
|
private |
The reason of the error.
Definition at line 98 of file easy_parser.hpp.