Search Results for

    Show / Hide Table of Contents

    Class UnsupportedEndpointException

    Exception thrown when a requested endpoint is not supported by the specified API. Different APIs support different sets of endpoints, and this exception indicates an attempt to use an unsupported one.

    Inheritance
    object
    Exception
    AIClientException
    UnsupportedEndpointException
    Implements
    ISerializable
    Inherited Members
    AIClientException.Api
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class UnsupportedEndpointException : AIClientException, ISerializable

    Constructors

    | Edit this page View Source

    UnsupportedEndpointException(Api, RequestType, ConnectionMode)

    Initializes a new instance of the UnsupportedEndpointException class.

    Declaration
    public UnsupportedEndpointException(Api api, RequestType reqType, ConnectionMode protocol = ConnectionMode.Rest)
    Parameters
    Type Name Description
    Api api

    The API that does not support the endpoint.

    RequestType reqType

    The type of endpoint that is not supported.

    ConnectionMode protocol

    The protocol of the endpoint. Default is REST.

    Properties

    | Edit this page View Source

    EndpointName

    Gets the name of the unsupported endpoint. Refer to the RequestType enumeration for the list of available endpoints.

    Declaration
    public string EndpointName { get; }
    Property Value
    Type Description
    string

    Implements

    ISerializable

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToErrorEvent<T>(T)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    ExceptionExtensions.ExtractDiagnosticMessage(Exception)
    ExceptionExtensions.ExtractServerError(Exception)
    ExceptionExtensions.GetFullMessage(Exception)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation