Minga.Extension.Instance.CleanupFailure (Minga v0.1.0)

Copy Markdown View Source

Typed failed-cleanup phase with its authority-owned retry context.

Summary

Functions

Captures a cleanup failure and resumable stop context.

Replaces the externally reported reason after projection failure.

Types

t()

@type t() :: %Minga.Extension.Instance.CleanupFailure{
  reason: term(),
  retry: Minga.Extension.Instance.StopContext.t()
}

Functions

new(reason, retry)

Captures a cleanup failure and resumable stop context.

replace_reason(failure, reason)

@spec replace_reason(t(), term()) :: t()

Replaces the externally reported reason after projection failure.