Continuum.RunFailure (continuum v0.6.2)

Copy Markdown View Source

Stable public description of a failed workflow run.

Continuum.await/2 and Continuum.get_run/2 return this value for workflow failures regardless of whether completion was observed through PubSub or by polling the journal. Diagnostic stacktraces are exposed separately as :error_stacktrace by Continuum.get_run/2.

Summary

Types

kind()

@type kind() :: :error | :throw | :exit

t()

@type t() :: %Continuum.RunFailure{kind: kind(), reason: term()}