Type Alias deadpool_postgres::HookErrorCause

source ·
pub type HookErrorCause = HookErrorCause<Error>;
Expand description

Aliased Type§

enum HookErrorCause {
    Message(String),
    StaticMessage(&'static str),
    Backend(Error),
}

Variants§

§

Message(String)

Hook failed for some other reason.

§

StaticMessage(&'static str)

Hook failed for some other reason.

§

Backend(Error)

Error caused by the backend.