pub fn from_pg(context: &str, e: Error) -> Error
Convert a tokio_postgres::Error into a categorised Error.
tokio_postgres::Error
Error