pub trait ErrorHandler {
// Required methods
fn handle_parse_error(&self, error: &PostCSSError) -> RecoveryStrategy;
fn handle_plugin_error(&self, error: &PostCSSError) -> RecoveryStrategy;
fn handle_transform_error(&self, error: &PostCSSError) -> RecoveryStrategy;
}Expand description
Error handler trait for custom error handling
Required Methods§
fn handle_parse_error(&self, error: &PostCSSError) -> RecoveryStrategy
fn handle_plugin_error(&self, error: &PostCSSError) -> RecoveryStrategy
fn handle_transform_error(&self, error: &PostCSSError) -> RecoveryStrategy
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".