perl_parser_core/engine/error/mod.rs
1//! Error types and recovery helpers for the parser engine.
2//!
3//! Defines error classifications and recovery workflows used during the Parse and
4//! Analyze stages of the LSP pipeline. These types are surfaced in diagnostics,
5//! syntax checking, and recovery-oriented parsing APIs.
6//!
7//! # Examples
8//!
9//! ```rust
10//! use perl_parser_core::error::ParseError;
11//!
12//! let err = ParseError::UnexpectedEof;
13//! println!("Parse error: {}", err);
14//! ```
15
16/// Implementation of ErrorRecovery trait for ParserContext.
17pub mod context_impls;
18
19/// Error types and result aliases used by the parser engine.
20pub use perl_error::*;