ForgeOpsTracker.Reporter (forge_ops_tracker v0.1.0)

Copy Markdown View Source

Ties Configuration, EventBuilder, and DeliveryQueue together into the one thing callers actually need: report an exception. Mirrors every other SDK's own Reporter/ErrorSubscriber -- never raises. An error reporter that itself raises while reporting an error is the worst possible failure mode, so every path here is wrapped to guarantee this never propagates back into the caller (or, when called from ForgeOpsTracker.LoggerHandler, back into the :logger pipeline itself, which would be just as bad).

Summary

Functions

report(reason, stacktrace, context \\ %{})

@spec report(term(), Exception.stacktrace(), map()) :: :ok