Skip to main content

retry_hint_from_sqlx_error

Function retry_hint_from_sqlx_error 

Source
pub fn retry_hint_from_sqlx_error(error: &Error) -> RetryHint
Expand description

Converts a sqlx error into a conservative retry hint.