BB.Error.State.Inference.ModelUnavailable exception (bb_inference v0.1.0)

Copy Markdown View Source

A call to a model's process didn't return: it stopped while the call was waiting - usually because it failed to load - or it didn't answer within the call's timeout.

reason is the exit reason of the call.

Summary

Types

t()

@type t() :: %BB.Error.State.Inference.ModelUnavailable{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  model: atom(),
  path: term(),
  reason: term(),
  robot: module(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %BB.Error.State.Inference.ModelUnavailable{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  model: term(),
  path: term(),
  reason: term(),
  robot: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.BB.Error.State.Inference.ModelUnavailable without raising it.

Keys

  • :robot
  • :model
  • :reason