Packages
Elixir-native LangChain, LangGraph, and DeepAgents for traceable LLM apps: OTP workflows, tools, memory, human-in-the-loop, streaming, custom clients/adapters, minimal deps, and WeaveScope tracing.
Current section
Files
Jump to
Current section
Files
lib/beam_weaver/google/error.ex
defmodule BeamWeaver.Google.Error do
@moduledoc """
Recoverable errors returned by the Google Gemini provider.
"""
defexception [:type, :message, details: %{}]
@type t :: %__MODULE__{type: atom(), message: String.t(), details: map()}
def new(type, message, details \\ %{}) do
%__MODULE__{type: type, message: message, details: details}
end
end