Gemini.Types.Interactions.Events.ErrorEvent (GeminiEx v0.11.0)

Copy Markdown View Source

Interactions SSE event: event_type: "error".

Summary

Types

t()

@type t() :: %Gemini.Types.Interactions.Events.ErrorEvent{
  error: Gemini.Types.Interactions.Events.Error.t() | nil,
  event_id: String.t() | nil,
  event_type: String.t() | nil
}

Functions

from_api(event)

@spec from_api(map() | nil) :: t() | nil

to_api(map)

@spec to_api(t() | map() | nil) :: map() | nil