Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    Exception
    AIClientException
    MalformedRequestException
    NoInputItemsException
    Implements
    ISerializable
    Inherited Members
    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 NoInputItemsException : MalformedRequestException, ISerializable

    Constructors

    | Edit this page View Source

    NoInputItemsException(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.

    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