Trait sqruff_lib::core::errors::SqlError

source ·
pub trait SqlError {
    // Required methods
    fn fixable(&self) -> bool;
    fn rule_code(&self) -> Option<&'static str>;
    fn identifier(&self) -> &'static str;
    fn check_tuple(&self) -> (&'static str, usize, usize);
}

Required Methods§

source

fn fixable(&self) -> bool

source

fn rule_code(&self) -> Option<&'static str>

source

fn identifier(&self) -> &'static str

source

fn check_tuple(&self) -> (&'static str, usize, usize)

Get a tuple representing this error. Mostly for testing.

Implementors§