Class InteractionError
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
An error recorded on an interaction or sent in an error event.
public sealed class InteractionError
- Inheritance
-
InteractionError
- Inherited Members
- Extension Methods
Properties
Code
A URI that identifies the error type.
[JsonPropertyName("code")]
public string? Code { get; set; }
Property Value
Message
A human-readable error message.
[JsonPropertyName("message")]
public string? Message { get; set; }