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
NotRegisteredModelException
Implements
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public sealed class NotRegisteredModelException : MissingCatalogItemException, ISerializable
Constructors
| Edit this page View SourceNotRegisteredModelException(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. |