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

Copy Markdown View Source

Error payload inside an Interactions SSE error event.

Summary

Types

t()

@type t() :: %Gemini.Types.Interactions.Events.Error{
  code: String.t() | nil,
  message: String.t() | nil
}

Functions

from_api(err)

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

to_api(map)

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