symphony.bdk.core.retry.strategy.can_authentication_be_retried#

symphony.bdk.core.retry.strategy.can_authentication_be_retried(exception: Exception) bool#

Checks if the exception is a network issue or internal or retry error i.e. is an ApiException with status code 429 or greater or equal to 500. or the exception is either a TimeoutError (e.g. network issues)

Parameters

exception – The exception to be checked

Returns

True if the exception is an ApiException with status 500, 429 or or is a client timeout error False otherwise