Search Results for

    Show / Hide Table of Contents

    Class ResponseError

    Inheritance
    object
    ResponseEventBase
    ResponseError
    Implements
    ISequencableEvent
    IEvent
    IServiceError
    Inherited Members
    ResponseEventBase.Type
    ResponseEventBase.SequenceNumber
    ResponseEventBase.IsValid()
    ResponseEventBase.GetSequenceInfo()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit.Responses
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class ResponseError : ResponseEventBase, ISequencableEvent, IEvent, IServiceError

    Properties

    | Edit this page View Source

    Code

    Required. The error code.

    Declaration
    [JsonProperty("code")]
    public string Code { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Message

    Required. The error message.

    Declaration
    [JsonProperty("message")]
    public string Message { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Param

    Required. The error parameter.

    Declaration
    [JsonProperty("param")]
    public string Param { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetErrorMessage()

    Declaration
    public string GetErrorMessage()
    Returns
    Type Description
    string
    | Edit this page View Source

    GetErrorMessage(bool)

    Declaration
    public string GetErrorMessage(bool verbose = false)
    Parameters
    Type Name Description
    bool verbose
    Returns
    Type Description
    string
    | Edit this page View Source

    ToInnerException()

    Declaration
    public Exception ToInnerException()
    Returns
    Type Description
    Exception
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    ISequencableEvent
    IEvent
    IServiceError

    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.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation