Ash.Error.Changes.InvalidAsOf exception (ash v3.34.5)

Copy Markdown View Source

Used when a write is given an as_of that does not make a valid period

Summary

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) :: %Ash.Error.Changes.InvalidAsOf{
  __exception__: term(),
  as_of: term(),
  bread_crumbs: term(),
  class: term(),
  message: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Ash.Error.Changes.InvalidAsOf without raising it.

Keys

  • :resource
  • :as_of
  • :message