Module errors

Module errors 

Source
Expand description

Error types and utilities for Rustyle

Provides comprehensive error handling with helpful error messages.

Enums§

RustyleError
Rustyle error types with enhanced context

Functions§

create_error_message
Create a helpful error message with context and visual formatting
extract_code_snippet
Extract code snippet around an error location
get_all_css_properties
Get all valid CSS properties (comprehensive list)
suggest_property
Helper to suggest similar property names (returns multiple suggestions)
validate_property
Validate CSS property name
validate_value
Validate CSS value for a property