Class InvalidEndpointException
Thrown when a GenAI provider does not support a specific feature.
Inheritance
object
Exception
SystemException
NotSupportedException
InvalidEndpointException
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public class InvalidEndpointException : NotSupportedException
Constructors
InvalidEndpointException(Api, int)
Declaration
public InvalidEndpointException(Api api, int endpointType)
Parameters
Type | Name | Description |
---|---|---|
Api | api | |
int | endpointType |
Properties
Api
The name of the api provider that does not support the feature.
Declaration
public Api Api { get; }
Property Value
Type | Description |
---|---|
Api |
EndpointType
The name of the unsupported endpoint. Refer to the Glitch9.AIDevKit.GENTasks.EndpointType for the list of supported endpoints.
Declaration
public int EndpointType { get; }
Property Value
Type | Description |
---|---|
int |