Skip to content
Tracon

ProviderRetryDecision

Namespace Tracon · Assembly Tracon.Abstractions.dll

Whether a provider failure should move to the next fallback link.

public enum ProviderRetryDecision

DoNotRetry = 2

Do not switch providers; surface the error.

Retry = 1

Try the next fallback link.

Unknown = 0

No opinion; the built-in rules decide.

Three-valued rather than bool on purpose: the built-in rules are a closed, positive set (an unrecognized failure does not retry by default — see IProviderRetryClassifier). A bool contract would force a consumer’s classifier to take a side on every exception it does not recognize, silently breaking that guarantee the moment a custom classifier is registered.