Class AIClientException
Base exception class for all AI client-related errors. All exceptions thrown by AI client operations derive from this class.
Inheritance
AIClientException
Implements
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class AIClientException : Exception, ISerializable
Constructors
| Edit this page View SourceAIClientException(Api, string)
Declaration
public AIClientException(Api api, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| Api | api | |
| string | message |
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 SourceApi
Gets the API that does not support the requested endpoint.
Declaration
public Api Api { get; }
Property Value
| Type | Description |
|---|---|
| Api |