Module errors

Module errors 

Source
Expand description

Parser error types for ASS script parsing

Provides comprehensive error handling for ASS subtitle script parsing with detailed error messages and recovery information for interactive editing.

§Error Philosophy

  • Prefer recovery over failure where possible
  • Provide detailed location information for editor integration
  • Group related errors for efficient handling
  • Include suggestions for common mistakes

§Module Organization

  • parse_error - Unrecoverable parsing errors
  • parse_issue - Recoverable issues and warnings
  • parse_result - Result types for error handling

Re-exports§

pub use parse_error::ParseError;
pub use parse_issue::IssueCategory;
pub use parse_issue::IssueSeverity;
pub use parse_issue::ParseIssue;
pub use parse_result::ParseResult;
pub use parse_result::ParseResultWithIssues;

Modules§

parse_error
Primary parse error type for ASS script parsing
parse_issue
Parse issue types for recoverable parsing problems
parse_result
Parse result types for error handling and issue collection