ExecutionPlane.Contracts.ExecutionOutcome.V1 (execution_plane v0.1.0)

Copy Markdown View Source

Terminal or checkpointed raw execution outcome emitted by the Execution Plane.

Summary

Types

t()

@type t() :: %ExecutionPlane.Contracts.ExecutionOutcome.V1{
  artifacts: [term()],
  contract_version: String.t(),
  failure: ExecutionPlane.Contracts.Failure.t() | nil,
  family: String.t(),
  lineage: ExecutionPlane.Contracts.lineage_t(),
  metrics: map(),
  raw_payload: map(),
  route_id: String.t(),
  status: String.t()
}

Functions

contract_version()

@spec contract_version() :: String.t()

dump(outcome)

@spec dump(t()) :: map()

new(value)

@spec new(map() | keyword() | t()) :: {:ok, t()} | {:error, Exception.t()}

new!(value)

@spec new!(map() | keyword() | t()) :: t()