Quiver.Error.Invalid exception (quiver v0.2.0)

Copy Markdown View Source

Caller-side mistakes where fixing the input resolves the error.

Summary

Functions

Create an Elixir.Quiver.Error.Invalid without raising it.

Callback implementation for Exception.message/1.

Functions

exception(args)

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

Create an Elixir.Quiver.Error.Invalid without raising it.

Keys

  • :errors

message(map)

Callback implementation for Exception.message/1.