Search Results for

    Show / Hide Table of Contents

    Class AIClientException

    Base exception class for all AI client-related errors. All exceptions thrown by AI client operations derive from this class.

    Inheritance
    object
    Exception
    AIClientException
    MalformedRequestException
    MissingCatalogItemException
    UnsupportedEndpointException
    Implements
    ISerializable
    Inherited Members
    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
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class AIClientException : Exception, ISerializable

    Constructors

    | Edit this page View Source

    AIClientException(Api, string)

    Declaration
    public AIClientException(Api api, string message)
    Parameters
    Type Name Description
    Api api
    string message
    | Edit this page View Source

    AIClientException(string)

    Initializes a new instance of the AIClientException class with a specified error message.

    Declaration
    public AIClientException(string message)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    Properties

    | Edit this page View Source

    Api

    Gets the API that does not support the requested endpoint.

    Declaration
    public Api Api { get; }
    Property Value
    Type Description
    Api

    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