OpenTelemetry.Internal.ExceptionExtensions static class ExceptionExtensions Documentation Code public static string ToInvariantString(this Exception exception) Returns a culture-independent string representation of the given exception object, appropriate for diagnostics tracing.