using System;


namespace AIRuntime.Runtime.Providers.Fallback
{
    /// <summary>
    /// Classifies provider exceptions and determines whether
    /// AIRuntime should attempt the next configured provider.
    /// </summary>
    public interface IProviderFailureClassifier
    {
        ProviderFailure Classify(
            IProvider provider,
            Exception exception);
    }
}