Skip to main content

from_pg

Function from_pg 

Source
pub fn from_pg(error: &Error) -> DbError
Expand description

The server’s error fields when Postgres reported one; otherwise the failure is the connection’s (closed socket, I/O, protocol).