Tune.Error.Output.Invalid exception (Tune v0.5.0)

Copy Markdown View Source

Parsed output values do not match the declared output schema.

Summary

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) :: %Tune.Error.Output.Invalid{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  errors: term(),
  message: term(),
  path: term(),
  response: term(),
  splode: term(),
  stacktrace: term(),
  value: term(),
  vars: term()
}

Create an Elixir.Tune.Error.Output.Invalid without raising it.

Keys

  • :message
  • :errors
  • :value
  • :response