sqlstate
ModuleThe descriptions PDO gives SQLSTATEs in its exception messages
(SQLSTATE[23000]: Integrity constraint violation: ...), the same for
every PDO driver.
Contents
use utopia_database::adapter::sqlstate::describe;Rust
pub fn describe(sqlstate: &str) -> &'static strThe description PDO gives a SQLSTATE (pdo_sqlstate_state_to_description).