Expand description
Auto-generated module
🤖 Generated with SplitRS
Re-exports§
pub use crate::error_impl::ParseError;pub use crate::error_impl::ParseErrorKind;
Structs§
- Batch
Error Report - Batch error report with summary statistics.
- Contextual
Rich Error - An error with its source context pre-rendered.
- Error
Accumulator2 - Accumulates errors and warnings over a parse session.
- Error
Budget - An error budget: stop reporting after too many errors.
- Error
Chain - Error chain: a sequence of related errors.
- Error
Code Catalogue - Error code catalogue with descriptions.
- Error
Deduplicator - Error deduplication: suppress repeated identical messages.
- Error
Explanation - Represents a user-facing error explanation page.
- Error
Explanation Book - A collection of error explanations.
- Error
Filter - An error filter: suppresses errors matching certain patterns.
- Error
Grouper - An error grouper: clusters errors by their error code.
- Error
Location Resolver - Error location resolver: maps span to line/column.
- Error
Rate Tracker - Tracks error rates over time for adaptive error handling.
- Parse
Diagnostic - A rich parse diagnostic combining severity, location, and message.
- Parse
Error Budget - Tracks parse errors against a budget; aborts when exceeded.
- Parse
Error Collector - Accumulates multiple parse errors before reporting them all at once.
- Parse
Error Context - Attaches contextual information to a
ParseError. - Parse
Error Formatter - Renders parse errors with surrounding source context.
- Parse
Error Group - A named group of related parse errors.
- Parse
Error Report - An aggregated error report combining errors, warnings, and notes.
- Parse
Error Stats - Aggregate statistics about parse errors.
- Parse
Warning - A non-fatal parse warning.
- Quick
FixRegistry - Maps error codes to their suggested quick-fix actions.
- Recovery
Hint - A recovery hint associated with an error.
- Rich
Error - A rich error message with optional suggestions.
- String
Error Sink - An error sink that writes errors to a string buffer.
- Tagged
Error - Extended rich error with tags and recovery hints.
Enums§
- Error
Severity - The severity of a parse diagnostic.
- Error
Severity Level - Error severity enum for extended error handling.
- Error
Tag - Error tagging for categorisation.
- Recovery
Hint Kind - Recovery
Strategy - Controls how the parser recovers from errors.