.NET API
IProviderRetryClassifier
Namespace Tracon · Assembly
Tracon.Abstractions.dllDecides whether a model-provider failure is retryable on the next fallback link.
public interface IProviderRetryClassifierRemarks
Section titled “Remarks”Called by FallbackChatClient, once per failed attempt, before it
falls back to Tracon’s own closed-set rules. A cancellation
(OperationCanceledException, anywhere in the exception
graph) never reaches this classifier — that check runs before the seam
and cannot be overridden.
Tracon’s taxonomy is its own opinion; a consumer may want to trust an
additional SDK-specific exception. Registered with TryAddSingleton,
so the consumer’s registration wins.
Methods
Section titled “Methods”Classify(Exception)
Section titled “ Classify(Exception)”Classifies the failure. Return ProviderRetryDecision.Unknown to defer to Tracon’s built-in rules.
ProviderRetryDecision Classify(Exception exception)Parameters
Section titled “Parameters”exception Exception
The exception a model call threw.
Returns
Section titled “Returns”The retry decision.