Skip to main content

classify

Function classify 

Source
pub fn classify(err: &FaucetError) -> Option<RetryClass>
Expand description

Map a FaucetError to its RetryClass, or None if it is not a transient failure. The single source of truth for retriability — both the policy runner and FaucetError::is_retriable defer to this.