symphony.bdk.core.retry.strategy.is_network_or_minor_error#
- symphony.bdk.core.retry.strategy.is_network_or_minor_error(exception: Exception) bool #
Checks if the exception is a network issue or an
ApiException
minor error (internal + unauthorized + retry). This is the default function used to check if a given exception should lead to a retry.- Parameters
exception – The exception to be checked
- Returns
True if the exception is an
ApiException
with status 500, 401, 429 or is a client timeout error False otherwise