pub trait SqlxErrorExt {
// Required methods
fn is_unique_violation(&self) -> bool;
fn is_foreign_key_violation(&self) -> bool;
fn is_check_violation(&self) -> bool;
fn code(&self) -> Option<Cow<'_, str>>;
fn message(&self) -> Option<&str>;
}