Parse error description.
More...
#include <log0redo.h>
|
| constexpr size_t | pos () const noexcept |
| | Returns position in parsing buffer where the error occurred. More...
|
| |
| auto & | with_pos (size_t pos) |
| | Add position to error description. More...
|
| |
| constexpr | Parse_error (int code) noexcept |
| |
| constexpr | operator int () const noexcept |
| |
◆ Parse_error()
| constexpr ib::redo::Parse_error::Parse_error |
( |
int |
code | ) |
|
|
inlineconstexprnoexcept |
◆ operator int()
| constexpr ib::redo::Parse_error::operator int |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ pos()
| constexpr size_t ib::redo::Parse_error::pos |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns position in parsing buffer where the error occurred.
The position is aligned to the record boundary.
◆ with_pos()
| auto & ib::redo::Parse_error::with_pos |
( |
size_t |
pos | ) |
|
|
inline |
Add position to error description.
- Parameters
-
- Returns
- Reference to self.
◆ Corrupted
| constexpr int ib::redo::Parse_error::Corrupted = 2 |
|
staticconstexpr |
Buffer contains corrupted data.
◆ Incomplete
| constexpr int ib::redo::Parse_error::Incomplete = 1 |
|
staticconstexpr |
Buffer is too short to parse.
◆ m_code
| int ib::redo::Parse_error::m_code |
|
private |
◆ m_pos
| size_t ib::redo::Parse_error::m_pos = 0 |
|
private |
The documentation for this class was generated from the following file: