Skip to main content

mark_failure

Method
This is a method of the FailoverManager class in the failover module.
Mark a profile as failed.

Signature

def mark_failure(profile: AuthProfile, error: str, is_rate_limit: bool) -> None

Parameters

profile
AuthProfile
required
The profile that failed
error
str
required
Error message
is_rate_limit
bool
default:"False"
Whether this is a rate limit error