Artefact.Error.Unknown exception (Artefact v0.2.0)

Copy Markdown View Source

Catch-all for errors that don't match any known Artefact error class.

Required by Artefact.Error's Splode configuration as the :unknown_error fallback.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Artefact.Error.Unknown{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  error: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Artefact.Error.Unknown without raising it.

Keys

  • :error