Insider.Invariant.Outcome (Insider Lab v0.1.0)

Copy Markdown View Source

A local classified invariant outcome; it is not a portable wire contract.

Summary

Types

disclosure()

@type disclosure() :: :clear | :redacted | :failed

execution()

@type execution() ::
  :complete | :timeout | :exception | :unavailable | :overloaded | :invalid

recording()

@type recording() :: :recorded | :frozen | :dropped

t()

@type t() :: %Insider.Invariant.Outcome{
  confirmed: term(),
  disclosure: term(),
  error: term(),
  event: term(),
  execution: term(),
  finding: term(),
  freeze_id: term(),
  invocation: term(),
  recording: term(),
  redaction: term(),
  schema: term(),
  snapshot: term(),
  verdict: term()
}

verdict()

@type verdict() :: :pass | :violation | :unknown