Trait sqruff_lib::core::errors::SqlError

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

Required Methods§

source

fn fixable(&self) -> bool

source

fn rule_code(&self) -> Option<String>

source

fn identifier(&self) -> String

source

fn check_tuple(&self) -> (String, usize, usize)

Get a tuple representing this error. Mostly for testing.

Implementors§