ReqLLM.Error.API.JSONDecode exception (ReqLLM v1.0.0)

View Source

Error for when we can't parse the JSON response.

Summary

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) :: %ReqLLM.Error.API.JSONDecode{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  message: term(),
  partial: term(),
  path: term(),
  position: term(),
  raw_response: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.ReqLLM.Error.API.JSONDecode without raising it.

Keys

  • :message
  • :partial
  • :raw_response
  • :position