Skip to main content

classify_connect_error

Function classify_connect_error 

Source
fn classify_connect_error(
    source: Error,
    profile: &Profile,
    mode: SslMode,
) -> ConnectionError
Expand description

Classify a tokio_postgres::Error surfaced from Config::connect(...) into the most specific ConnectionError variant.

Rules: