Mnemosyne.Errors.Framework.AdapterError exception (mnemosyne v0.1.6)

Copy Markdown View Source

Raised when an LLM or embedding adapter encounters an error.

Summary

Types

t()

@type t() :: %Mnemosyne.Errors.Framework.AdapterError{
  __exception__: true,
  adapter: term(),
  bread_crumbs: term(),
  class: term(),
  operation: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Mnemosyne.Errors.Framework.AdapterError{
  __exception__: true,
  adapter: term(),
  bread_crumbs: term(),
  class: term(),
  operation: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Mnemosyne.Errors.Framework.AdapterError without raising it.

Keys

  • :adapter
  • :operation
  • :reason