google.cloud.forseti.common.util.retryable_exceptions module

Module to determine whether an exception should be retried.

is_retryable_exception(e)[source]

Whether exception should be retried.

Parameters:e (Exception) – Exception object.
Returns:True for exceptions to retry. False otherwise.
Return type:bool
is_retryable_exception_cv(e)[source]

Whether exception should be retried for Config Validator communications.

Parameters:e (Exception) – Exception object.
Returns:True for exceptions to retry. False otherwise.
Return type:bool