Normalises the context after execution.
- When
error_handling: trueand the call succeeded, wrapsresultin{:ok, result}. - When
error_handling: trueand there is an error, wrapserrorin{:error, error}. - When
error_handling: falseand the call succeeded, leaves the raw result in place. - When
error_handling: falseand there is an error, the context passes through unchanged — the caller (e.g.RpcCall) decides whether to raise.
Short-circuited results (e.g. a cache hit that set halted) are wrapped
exactly like ordinary successes, so safe mode always yields a consistent
{:ok, _} | {:error, _} shape.