Skip to content

ProviderUnavailableException

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Providers

ProviderUnavailableException Class

Thrown when a provider is temporarily unavailable. The tiered selector catches this and falls through to the next provider in the chain.

public class ProviderUnavailableException : System.Exception

Inheritance System.Object 🡒 System.Exception 🡒 ProviderUnavailableException

Constructors

ProviderUnavailableException(string, string, Exception) Constructor

public ProviderUnavailableException(string providerName, string message, System.Exception? innerException=null);

Parameters

providerName System.String

The provider that was unavailable.

message System.String

A description of why the provider is unavailable.

innerException System.Exception

The original exception, if any.

Properties

ProviderUnavailableException.ProviderName Property

Gets the name of the provider that was unavailable.

public string ProviderName { get; }

Property Value

System.String