Failure raised in workflow code when an activity attempt ends in failure.
Wraps the underlying cause (typically a Temporalex.ApplicationError,
Temporalex.CancelledError, or Temporalex.TimeoutError) alongside the
activity identity. Workflow code typically pattern-matches on cause.
Summary
Types
@type t() :: %Temporalex.ActivityFailure{ __exception__: true, activity_id: String.t() | nil, activity_type: String.t() | nil, attempt: non_neg_integer() | nil, cause: Exception.t() | nil, message: String.t(), retry_state: atom() | nil }