Trait style::error_reporting::ParseErrorReporter [] [src]

pub trait ParseErrorReporter {
    fn report_error(
        &self,
        url: &UrlExtraData,
        location: SourceLocation,
        error: ContextualParseError
    ); }

A generic trait for an error reporter.

Required Methods

Called when the style engine detects an error.

Returns the current input being parsed, the source location it was reported from, and a message.

Implementors