Dsxir.Errors.Invalid.Tool exception (dsxir v0.1.0)

Copy Markdown

Raised when a Dsxir.Primitives.Tool declaration or call is malformed.

Summary

Types

t()

@type t() :: %Dsxir.Errors.Invalid.Tool{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  inner: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  tool: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Dsxir.Errors.Invalid.Tool{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  inner: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  tool: term(),
  vars: term()
}

Create an Elixir.Dsxir.Errors.Invalid.Tool without raising it.

Keys

  • :tool
  • :reason
  • :inner