Trait texlang::error::TexError

source ·
pub trait TexError: Debug + 'static {
    // Required methods
    fn kind(&self) -> Kind;
    fn title(&self) -> String;

    // Provided methods
    fn notes(&self) -> Vec<Note> { ... }
    fn source_annotation(&self) -> String { ... }
    fn default_source_annotation(&self) -> String { ... }
    fn source_code_trace_override(&self) -> Option<&SourceCodeTrace> { ... }
}

Required Methods§

source

fn kind(&self) -> Kind

source

fn title(&self) -> String

Provided Methods§

Implementors§