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§
fn fixable(&self) -> bool
fn rule_code(&self) -> Option<&'static str>
fn identifier(&self) -> &'static str
Sourcefn check_tuple(&self) -> (&'static str, usize, usize)
fn check_tuple(&self) -> (&'static str, usize, usize)
Get a tuple representing this error. Mostly for testing.