Milvex.Migration.Runner.OpResult (milvex v0.14.0)

Copy Markdown

Outcome of attempting one operation: the operation itself plus its terminal status. :ok means the dispatched RPC succeeded; the various skip atoms mean the dispatch path was not entered.

Summary

Types

status()

@type status() ::
  :ok
  | :skipped_no_flag
  | :skipped_idempotent
  | :blocked_by_impossible
  | :blocked_impossible
  | {:error, term()}

t()

@type t() :: %Milvex.Migration.Runner.OpResult{
  operation: Milvex.Migration.Operation.t(),
  status: status()
}