Class ServerSentError
Inheritance
object
ServerSentError
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public class ServerSentError
Constructors
ServerSentError()
Declaration
public ServerSentError()
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
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()