Class MissingCatalogItemException
Exception thrown when a requested catalog item is not found in the specified catalog. Catalogs contain registered items such as models, tools, or other resources.
Inheritance
MissingCatalogItemException
Implements
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class MissingCatalogItemException : AIClientException, ISerializable
Constructors
| Edit this page View SourceMissingCatalogItemException(Api, CatalogType, string)
Initializes a new instance of the MissingCatalogItemException class.
Declaration
public MissingCatalogItemException(Api api, CatalogType catalogType, string id)
Parameters
| Type | Name | Description |
|---|---|---|
| Api | api | The API associated with the catalog. |
| CatalogType | catalogType | The type of catalog being searched. |
| string | id | The identifier of the item that was not found. |
Properties
| Edit this page View SourceCatalogType
Gets the type of catalog where the item was not found.
Declaration
public CatalogType CatalogType { get; }
Property Value
| Type | Description |
|---|---|
| CatalogType |
Id
Gets the identifier of the missing catalog item.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |