DrinkMeAlice.Ash.OutcomeUnknown exception (drink_me_alice v0.1.0)

Copy Markdown

A write that may or may not have committed: the request reached the wire but no classifiable reply came back (lost reply, timeout, inconclusive reply shape). This is NOT a failure — reconcile by reading the record, or by retrying the identical write (creates are idempotent on the primary key: a replayed create that already landed is refused as "already taken", which proves it committed).

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %DrinkMeAlice.Ash.OutcomeUnknown{
  __exception__: term(),
  action_type: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  primary_key: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.DrinkMeAlice.Ash.OutcomeUnknown without raising it.

Keys

  • :resource
  • :action_type
  • :primary_key