Dsxir.Errors.Framework.UndefinedFunction exception (dsxir v0.3.0)

Copy Markdown

Raised when a worker exits with :undef — typically the metric or program module was not loaded in the Task.Supervisor worker (a common LiveBook pitfall where the metric cell was not evaluated before the eval cell).

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Dsxir.Errors.Framework.UndefinedFunction{
  __exception__: true,
  arity: term(),
  bread_crumbs: term(),
  class: term(),
  function: term(),
  module: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Dsxir.Errors.Framework.UndefinedFunction without raising it.

Keys

  • :module
  • :function
  • :arity