pub type WarningHandler = Rc<dyn Fn(LexicalError) -> Result<(), LexicalError>>;Expand description
ErrorHandler as onWarn takes it: it gets a warning the editor has
recovered from, and what it returns is what the call that warned
returns (JS’s default throws in development, as the vectors record).
Aliased Type§
pub struct WarningHandler { /* private fields */ }