Skip to main content

ErrorHandler

Trait ErrorHandler 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§