Skip to content

NoSuchProviderException

Namespace: E2E.Decision.Sdk

public sealed class NoSuchProviderException : NoSuchModelException, ISerializable

The AI SDK’s NoSuchProviderError: the registry has no provider with that id.

Inheritance: object → Exception → NoSuchModelException

Implements: ISerializable

View source

NoSuchProviderException(string, string, string, IReadOnlyList<string>)

Section titled “NoSuchProviderException(string, string, string, IReadOnlyList<string>)”
public NoSuchProviderException(string modelId, string modelType, string providerId, IReadOnlyList<string> availableProviders)

The AI SDK’s NoSuchProviderError: the registry has no provider with that id.

Parameters

Name Type Description
modelId string
modelType string
providerId string
availableProviders IReadOnlyList<string>

public IReadOnlyList<string> AvailableProviders { get; }

Value: IReadOnlyList<string>

public string ProviderId { get; }

Value: string