Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Re-exports§

pub use crate::error_impl::ParseError;
pub use crate::error_impl::ParseErrorKind;

Structs§

BatchErrorReport
Batch error report with summary statistics.
ContextualRichError
An error with its source context pre-rendered.
ErrorAccumulator2
Accumulates errors and warnings over a parse session.
ErrorBudget
An error budget: stop reporting after too many errors.
ErrorChain
Error chain: a sequence of related errors.
ErrorCodeCatalogue
Error code catalogue with descriptions.
ErrorDeduplicator
Error deduplication: suppress repeated identical messages.
ErrorExplanation
Represents a user-facing error explanation page.
ErrorExplanationBook
A collection of error explanations.
ErrorFilter
An error filter: suppresses errors matching certain patterns.
ErrorGrouper
An error grouper: clusters errors by their error code.
ErrorLocationResolver
Error location resolver: maps span to line/column.
ErrorRateTracker
Tracks error rates over time for adaptive error handling.
ParseDiagnostic
A rich parse diagnostic combining severity, location, and message.
ParseErrorBudget
Tracks parse errors against a budget; aborts when exceeded.
ParseErrorCollector
Accumulates multiple parse errors before reporting them all at once.
ParseErrorContext
Attaches contextual information to a ParseError.
ParseErrorFormatter
Renders parse errors with surrounding source context.
ParseErrorGroup
A named group of related parse errors.
ParseErrorReport
An aggregated error report combining errors, warnings, and notes.
ParseErrorStats
Aggregate statistics about parse errors.
ParseWarning
A non-fatal parse warning.
QuickFixRegistry
Maps error codes to their suggested quick-fix actions.
RecoveryHint
A recovery hint associated with an error.
RichError
A rich error message with optional suggestions.
StringErrorSink
An error sink that writes errors to a string buffer.
TaggedError
Extended rich error with tags and recovery hints.

Enums§

ErrorSeverity
The severity of a parse diagnostic.
ErrorSeverityLevel
Error severity enum for extended error handling.
ErrorTag
Error tagging for categorisation.
RecoveryHintKind
RecoveryStrategy
Controls how the parser recovers from errors.