FerricStore.Flow.StalePolicyGenerationError exception (ferricstore_sdk v0.4.2)

Copy Markdown View Source

Returned when a Flow policy compare-and-swap uses a stale generation.

The SDK never retries a policy mutation carrying expected_generation. Read the latest snapshot and deliberately reconcile the update instead.

Summary

Types

t()

@type t() :: %FerricStore.Flow.StalePolicyGenerationError{
  __exception__: term(),
  expected_generation: non_neg_integer() | nil,
  message: binary(),
  raw: term()
}