Expand description
Error types for the nginx configuration parser.
Errors are split into two stages:
LexerError— failures during tokenization (unterminated strings, unexpected characters).ParseError— failures during parsing (unexpected tokens, unclosed blocks, missing semicolons).
Both carry a Position so that error messages can
point to the exact line and column in the source.
Enums§
- Lexer
Error - An error that occurs during tokenization (lexing).
- Parse
Error - An error that occurs during parsing.
Type Aliases§
- Parse
Result - Result type alias for parser operations