ExecutionPlane.Runtimes.Process.Exit (execution_plane v0.1.0)

Copy Markdown View Source

Normalized process exit information for the lower runtime substrate.

Summary

Types

t()

@type t() :: %ExecutionPlane.Runtimes.Process.Exit{
  code: non_neg_integer() | nil,
  reason: term(),
  signal: atom() | integer() | nil,
  status: :success | :exit | :signal | :error,
  stderr: binary() | nil
}

Functions

from_reason(reason, opts \\ [])

@spec from_reason(
  term(),
  keyword()
) :: t()

successful?(exit)

@spec successful?(t()) :: boolean()

to_map(exit)

@spec to_map(t()) :: map()