Search Results for

    Show / Hide Table of Contents

    Class ModelErrorException

    Inheritance
    object
    Exception
    AIProviderException
    ModelErrorException
    EmptyResponseException
    InappropriateRequestException
    IncompleteResponseException
    InterruptedResponseException
    ModelNotReadyException
    ModelStreamErrorException
    ModelTimeoutException
    ToolOutputTimeoutException
    UnhandledToolCallException
    Implements
    ISerializable
    Inherited Members
    AIProviderException.Api
    AIProviderException.StatusCode
    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 ModelErrorException : AIProviderException, ISerializable

    Constructors

    | Edit this page View Source

    ModelErrorException(Api, string, IServiceError, int)

    Declaration
    public ModelErrorException(Api api, string modelId, IServiceError serverError, int statusCode = 0)
    Parameters
    Type Name Description
    Api api
    string modelId
    IServiceError serverError
    int statusCode
    | Edit this page View Source

    ModelErrorException(Api, string, int)

    Declaration
    public ModelErrorException(Api api, string message, int statusCode = 0)
    Parameters
    Type Name Description
    Api api
    string message
    int statusCode
    | Edit this page View Source

    ModelErrorException(Model, IServiceError, int)

    Declaration
    public ModelErrorException(Model model, IServiceError serverError = null, int statusCode = 0)
    Parameters
    Type Name Description
    Model model
    IServiceError serverError
    int statusCode
    | Edit this page View Source

    ModelErrorException(ModelErrorType, Api, string, IServiceError, int)

    Declaration
    public ModelErrorException(ModelErrorType type, Api api, string modelId = null, IServiceError serverError = null, int statusCode = 0)
    Parameters
    Type Name Description
    ModelErrorType type
    Api api
    string modelId
    IServiceError serverError
    int statusCode
    | Edit this page View Source

    ModelErrorException(ModelErrorType, Model, IServiceError, int)

    Declaration
    public ModelErrorException(ModelErrorType type, Model model, IServiceError serverError = null, int statusCode = 0)
    Parameters
    Type Name Description
    ModelErrorType type
    Model model
    IServiceError serverError
    int statusCode
    | Edit this page View Source

    ModelErrorException(ModelErrorType, string, Api, string, IServiceError, int)

    Declaration
    public ModelErrorException(ModelErrorType type, string message, Api api, string modelId = null, IServiceError serverError = null, int statusCode = 0)
    Parameters
    Type Name Description
    ModelErrorType type
    string message
    Api api
    string modelId
    IServiceError serverError
    int statusCode

    Properties

    | Edit this page View Source

    Model

    Declaration
    public string Model { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Type

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

    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