Enums§
Functions§
- contextualize_
sqlx_ error - Inspect a
sqlx::Errorand, if it carries a SQLSTATE we know how to explain, return a richerErrorvariant. Otherwise the input is wrapped inError::Databaseunchanged so callers can keep using?. - redact_
url - Redact
user:password@host→user:****@hostin a database URL so it can be embedded in error messages and logs without leaking credentials.