Class NoInputItemsException
Exception thrown when a request requires at least one input item but none were provided. This is a specialized case of MalformedRequestException for missing input data.
Implements
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public sealed class NoInputItemsException : MalformedRequestException, ISerializable
Constructors
| Edit this page View SourceNoInputItemsException(Api, string)
Initializes a new instance of the NoInputItemsException class.
Declaration
public NoInputItemsException(Api api, string message = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Api | api | The API that received the request with no input items. |
| string | message | Optional custom error message. If null, a default message is used. |