Trait ErrorTrait

Source
pub trait ErrorTrait {
    // Required methods
    fn message(&self) -> String;
    fn range(&self) -> TextRange;
}

Required Methods§

Source

fn message(&self) -> String

Source

fn range(&self) -> TextRange

Implementations on Foreign Types§

Source§

impl ErrorTrait for SyntaxError

Implementors§