AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class ErrorResponse

    Inheritance
    object
    ErrorResponse
    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    public class ErrorResponse

    Properties

    Code

    Error code, if any.

    Declaration
    public string Code { get; set; }
    Property Value
    Type Description
    string

    EventId

    The event_id of the client event that caused the error, if applicable.

    Declaration
    public string EventId { get; set; }
    Property Value
    Type Description
    string

    Message

    A human-readable error message.

    Declaration
    public string Message { get; set; }
    Property Value
    Type Description
    string

    Param

    Parameter related to the error, if any.

    Declaration
    public string Param { get; set; }
    Property Value
    Type Description
    string

    Status

    This is from Google API, but I don't really know what it is.

    Declaration
    public string Status { get; set; }
    Property Value
    Type Description
    string

    Type

    The type of error (e.g., "invalid_request_error", "server_error").

    Declaration
    public string Type { get; set; }
    Property Value
    Type Description
    string

    Methods

    GetMessage()

    Declaration
    public string GetMessage()
    Returns
    Type Description
    string

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()
    In this article
    Back to top Generated by DocFX