Skip to content

NoProvidersRegisteredException

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Providers

NoProvidersRegisteredException Class

Thrown by ITieredProviderSelector<TQuery,TResult> when no enabled providers were registered, so there is nothing to attempt.

public sealed class NoProvidersRegisteredException : NexusLabs.Needlr.AgentFramework.Providers.NoProvidersAvailableException

Inheritance System.Object 🡒 System.Exception 🡒 NoProvidersAvailableException 🡒 NoProvidersRegisteredException

Remarks

Inherits from NoProvidersAvailableException so callers can choose to catch the base type for both "no providers registered" and "all providers failed" conditions, or catch this type specifically.

Constructors

NoProvidersRegisteredException() Constructor

Initializes a new instance with the default message.

public NoProvidersRegisteredException();

NoProvidersRegisteredException(string) Constructor

public NoProvidersRegisteredException(string message);

Parameters

message System.String

A description of why no providers are registered.