Logistiki.Ledger.Result (logistiki v0.1.0)

Copy Markdown View Source

The result of a ledger backend execution.

Backends return this struct so the runtime can record what happened without leaking backend-specific types.

Summary

Types

t()

The struct type. See the module documentation for field details and examples.

Types

t()

@type t() :: %Logistiki.Ledger.Result{
  backend: module(),
  balances: map(),
  details: map(),
  journal_id: term() | nil,
  posted_at: DateTime.t() | nil,
  status: :ok | :error
}

The struct type. See the module documentation for field details and examples.