Skip to main content

server_message

Function server_message 

Source
pub fn server_message(error: &Error) -> String
Expand description

tokio_postgres::Error renders as the bare string “db error”: what is worth reading (the constraint name, the syntax error, the detail line) hangs off its source, which is what the legacy calls hand a guest.