Safe, bounded diagnostics for errors returned by the SDK.
SDK exceptions intentionally retain structured response and adapter details
for programmatic reconciliation. Do not serialize exception structs directly.
Use safe_summary/1 for logs, metrics, or user-support correlation data that
must exclude bodies, headers, URLs, credentials, causes, and stacktraces.
Summary
Functions
Returns a bounded map that is safe to serialize as operational metadata.
Functions
@spec safe_summary(Exception.t()) :: map()
Returns a bounded map that is safe to serialize as operational metadata.