1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// this_file: src/error/mod.rs
//! Error handling module for vexy_json parser.
//!
//! This module provides comprehensive error handling capabilities including:
//! - Structured error codes with unique identifiers
//! - Context-aware error messages with actionable suggestions
//! - Enhanced span system with line/column information
//! - Intelligent error recovery strategies
//! - Diagnostic utilities for better error reporting
/// Error recovery analysis and strategy recommendation.
/// Repair functionality for JSON error recovery.
/// Comprehensive error reporting with configurable formatting.
/// Result type alias for convenience.
/// Span for error reporting with enhanced line/column tracking.
/// Terminal formatting and colored output for error reporting.
/// Error type definitions and implementations with structured error codes.
/// Utility traits and helper functions for error analysis.
/// Smart error recovery engine V2 with ML-based pattern recognition.
/// ML-based pattern recognition for error recovery.
// Re-export public API for backward compatibility
pub use ;
pub use ;
pub use ;
pub use ;
// Re-export repair functionality
pub use ;
// Re-export recovery functionality
pub use ;
// Re-export terminal formatting functionality
pub use ;
// Re-export error reporting functionality
pub use ;
// Re-export error recovery v2 components
pub use ;
// Re-export ML pattern recognition components
pub use MLPatternRecognizer;