Search Results for

    Show / Hide Table of Contents

    Class NotRegisteredModelException

    Exception thrown when a requested AI model is not registered in the model catalog. This is a specialized case of MissingCatalogItemException for model-specific errors.

    Inheritance
    object
    Exception
    AIClientException
    MissingCatalogItemException
    NotRegisteredModelException
    Implements
    ISerializable
    Inherited Members
    MissingCatalogItemException.Id
    MissingCatalogItemException.CatalogType
    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 NotRegisteredModelException : MissingCatalogItemException, ISerializable

    Constructors

    | Edit this page View Source

    NotRegisteredModelException(Api, string)

    Initializes a new instance of the NotRegisteredModelException class.

    Declaration
    public NotRegisteredModelException(Api api, string modelId)
    Parameters
    Type Name Description
    Api api

    The API that the model belongs to.

    string modelId

    The identifier of the model that was not found.

    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